goduf-byinode_fallback.go
changeset 11 47e45453b705
parent 3 d08d45871171
child 17 7e73bb91665e
equal deleted inserted replaced
10:1ee01b135e0e 11:47e45453b705
     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