equal
deleted
inserted
replaced
9 type ByInode FileObjList |
9 type ByInode FileObjList |
10 |
10 |
11 func (a ByInode) Len() int { return len(a) } |
11 func (a ByInode) Len() int { return len(a) } |
12 func (a ByInode) Swap(i, j int) { a[i], a[j] = a[j], a[i] } |
12 func (a ByInode) Swap(i, j int) { a[i], a[j] = a[j], a[i] } |
13 func (a ByInode) Less(i, j int) bool { |
13 func (a ByInode) Less(i, j int) bool { |
14 return true |
14 return a[i].FilePath < a[j].FilePath |
15 } |
15 } |
16 |
16 |
17 // OSHasInodes returns true iff the O.S. uses inodes for its filesystems. |
17 // OSHasInodes returns true iff the O.S. uses inodes for its filesystems. |
18 func OSHasInodes() bool { |
18 func OSHasInodes() bool { |
19 return false |
19 return false |