gowebbuild/vendor/github.com/otiai10/copy/stat_times_x.go

18 lines
254 B
Go
Raw Normal View History

// +build plan9 netbsd
package copy
import (
"os"
)
// TODO: check plan9 netbsd in future
func getTimeSpec(info os.FileInfo) timespec {
times := timespec{
Mtime: info.ModTime(),
Atime: info.ModTime(),
Ctime: info.ModTime(),
}
return times
}