diff options
| author | Jeff Carr <[email protected]> | 2025-11-03 18:40:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-11-03 18:40:33 -0600 |
| commit | a6400fb71a0474be9291c562d73fcb9746f02add (patch) | |
| tree | a0ca7bf6bc3866146b81a8b62aa0d5501bd3d1de /stat.SortCtime.go | |
| parent | c085c43172656665d0bba9c5bcc1b8d57b50bba8 (diff) | |
here were are somewhere. notsure where. but somewhere
Diffstat (limited to 'stat.SortCtime.go')
| -rw-r--r-- | stat.SortCtime.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stat.SortCtime.go b/stat.SortCtime.go index ccf4b48..b8045d2 100644 --- a/stat.SortCtime.go +++ b/stat.SortCtime.go @@ -25,8 +25,8 @@ type sortStatCtime []*Stat func (a sortStatCtime) Len() int { return len(a) } func (a sortStatCtime) Less(i, j int) bool { - itime := a[i].Ctime.AsTime() - jtime := a[j].Ctime.AsTime() + itime := a[i].CommitTime.AsTime() + jtime := a[j].CommitTime.AsTime() return itime.Before(jtime) } func (a sortStatCtime) Swap(i, j int) { a[i], a[j] = a[j], a[i] } |
