- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for fileEntryCompare (0.12 sec)
-
src/archive/zip/reader.go
isDir: true, } r.fileList = append(r.fileList, entry) } } } slices.SortFunc(r.fileList, func(a, b fileListEntry) int { return fileEntryCompare(a.name, b.name) }) }) } func fileEntryCompare(x, y string) int { xdir, xelem, _ := split(x) ydir, yelem, _ := split(y) if xdir != ydir { return strings.Compare(xdir, ydir) } return strings.Compare(xelem, yelem)
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0)