mirror of
https://github.com/rclone/rclone.git
synced 2024-12-26 05:53:41 +08:00
20 lines
489 B
Go
20 lines
489 B
Go
|
//go:build windows
|
||
|
|
||
|
package local
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
const haveLChtimes = true
|
||
|
|
||
|
// lChtimes changes the access and modification times of the named
|
||
|
// link, similar to the Unix utime() or utimes() functions.
|
||
|
//
|
||
|
// The underlying filesystem may truncate or round the values to a
|
||
|
// less precise time unit.
|
||
|
// If there is an error, it will be of type *PathError.
|
||
|
func lChtimes(name string, atime time.Time, mtime time.Time) error {
|
||
|
return setTimes(name, atime, mtime, time.Time{}, true)
|
||
|
}
|