summaryrefslogtreecommitdiff
path: root/stat.SortCtime.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-03 18:40:33 -0600
committerJeff Carr <[email protected]>2025-11-03 18:40:33 -0600
commita6400fb71a0474be9291c562d73fcb9746f02add (patch)
treea0ca7bf6bc3866146b81a8b62aa0d5501bd3d1de /stat.SortCtime.go
parentc085c43172656665d0bba9c5bcc1b8d57b50bba8 (diff)
here were are somewhere. notsure where. but somewhere
Diffstat (limited to 'stat.SortCtime.go')
-rw-r--r--stat.SortCtime.go4
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] }