1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-18 09:13:15 +00:00

vendor: update dependencies to latest

This commit is contained in:
Nick Craig-Wood
2018-11-24 15:31:25 +00:00
parent 58f7141c96
commit 89625e54cf
173 changed files with 4954 additions and 2224 deletions

View File

@@ -2,9 +2,14 @@
package times
const hasPlatformSpecificStat = false
import "os"
// do not use, only here to prevent "undefined" method error.
func platformSpecficStat(name string) (Timespec, error) {
return nil, nil
// Stat returns the Timespec for the given filename.
func Stat(name string) (Timespec, error) {
return stat(name, os.Stat)
}
// Lstat returns the Timespec for the given filename, and does not follow Symlinks.
func Lstat(name string) (Timespec, error) {
return stat(name, os.Lstat)
}