equal
deleted
inserted
replaced
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 true |
15 } |
15 } |
16 |
16 |
|
17 // OSHasInodes returns true iff the O.S. uses inodes for its filesystems. |
17 func OSHasInodes() bool { |
18 func OSHasInodes() bool { |
18 return false |
19 return false |
19 } |
20 } |
20 |
21 |
|
22 // GetDevIno returns the device and inode IDs of a given file. |
|
23 // This is not supported on Windows and Plan9. |
21 func GetDevIno(fi os.FileInfo) (uint64, uint64) { |
24 func GetDevIno(fi os.FileInfo) (uint64, uint64) { |
22 return 0, 0 // Not supported |
25 return 0, 0 // Not supported |
23 } |
26 } |