github.com/mheon/docker@v0.11.2-0.20150922122814-44f47903a831/pkg/system/utimes_darwin.go (about)

     1  package system
     2  
     3  import "syscall"
     4  
     5  // LUtimesNano is not supported by darwin platform.
     6  func LUtimesNano(path string, ts []syscall.Timespec) error {
     7  	return ErrNotSupportedPlatform
     8  }
     9  
    10  // UtimesNano is used to change access and modification time of path.
    11  // it can't be used for symbol link file.
    12  func UtimesNano(path string, ts []syscall.Timespec) error {
    13  	return syscall.UtimesNano(path, ts)
    14  }