Initial euclide.org release
This commit is contained in:
15
vendor/gopkg.in/djherbis/times.v1/use_generic_stat.go
generated
vendored
Normal file
15
vendor/gopkg.in/djherbis/times.v1/use_generic_stat.go
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// +build !windows
|
||||
|
||||
package times
|
||||
|
||||
import "os"
|
||||
|
||||
// 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)
|
||||
}
|
||||
Reference in New Issue
Block a user