mirror of
https://github.com/rclone/rclone.git
synced 2024-12-27 17:38:58 +01:00
52763e1918
Before this change it was setting the modification times of the things that the symlinks pointed to. Note that this is only implemented for unix style OSes. Other OSes will not attempt to set the modification time of a symlink.
21 lines
468 B
Go
21 lines
468 B
Go
// +build windows plan9
|
|
|
|
package local
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const haveLChtimes = false
|
|
|
|
// 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 {
|
|
// Does nothing
|
|
return nil
|
|
}
|