Fixed file modified time not changing on Windows
Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
parent
c8e890aa4b
commit
c7478a100c
14 changed files with 401 additions and 32 deletions
|
@ -24,9 +24,3 @@ func LUtimesNano(path string, ts []syscall.Timespec) error {
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
// UtimesNano is used to change access and modification time of the specified path.
|
||||
// It can't be used for symbol link file.
|
||||
func UtimesNano(path string, ts []syscall.Timespec) error {
|
||||
return syscall.UtimesNano(path, ts)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue