Fix type: TimeSpec -> Timespec.
This commit is contained in:
parent
c4cd5442e4
commit
fdc1b0261b
|
@ -122,7 +122,7 @@ type FileTime struct {
|
|||
Accessed time.Time
|
||||
}
|
||||
|
||||
func timeSpecToTime(ts unix.TimeSpec) time.Time {
|
||||
func timeSpecToTime(ts unix.Timespec) time.Time {
|
||||
return time.Unix(ts.Sec, ts.Nsec)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue