github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/pkg/system/chtimes_nowindows.go (about)

     1  //go:build !windows
     2  // +build !windows
     3  
     4  package system // import "github.com/docker/docker/pkg/system"
     5  
     6  import (
     7  	"time"
     8  )
     9  
    10  // setCTime will set the create time on a file. On Unix, the create
    11  // time is updated as a side effect of setting the modified time, so
    12  // no action is required.
    13  func setCTime(path string, ctime time.Time) error {
    14  	return nil
    15  }