github.com/zhouyu0/docker-note@v0.0.0-20190722021225-b8d3825084db/pkg/system/chtimes_unix.go (about)

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