File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
func init () {
13
13
fillSystemInfo = func (e * index.Entry , sys interface {}) {
14
14
if os , ok := sys .(* syscall.Stat_t ); ok {
15
- e .CreatedAt = time .Unix (int64 ( os .Atimespec .Sec ), int64 ( os . Atimespec . Nsec ))
15
+ e .CreatedAt = time .Unix (os .Atimespec .Unix ( ))
16
16
e .Dev = uint32 (os .Dev )
17
17
e .Inode = uint32 (os .Ino )
18
18
e .GID = os .Gid
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
func init () {
13
13
fillSystemInfo = func (e * index.Entry , sys interface {}) {
14
14
if os , ok := sys .(* syscall.Stat_t ); ok {
15
- e .CreatedAt = time .Unix (int64 ( os .Ctim .Sec ), int64 ( os . Ctim . Nsec ))
15
+ e .CreatedAt = time .Unix (os .Ctim .Unix ( ))
16
16
e .Dev = uint32 (os .Dev )
17
17
e .Inode = uint32 (os .Ino )
18
18
e .GID = os .Gid
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
func init () {
13
13
fillSystemInfo = func (e * index.Entry , sys interface {}) {
14
14
if os , ok := sys .(* syscall.Stat_t ); ok {
15
- e .CreatedAt = time .Unix (int64 ( os .Atim .Sec ), int64 ( os . Atim . Nsec ))
15
+ e .CreatedAt = time .Unix (os .Atim .Unix ( ))
16
16
e .Dev = uint32 (os .Dev )
17
17
e .Inode = uint32 (os .Ino )
18
18
e .GID = os .Gid
You can’t perform that action at this time.
0 commit comments