github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/pkg/system/chtimes_nowindows.go (about)

     1  //go:build !windows
     2  
     3  package system // import "github.com/Prakhar-Agarwal-byte/moby/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  }