changeset 0 | a5642cd03cef |
child 3 | d08d45871171 |
-1:000000000000 | 0:a5642cd03cef |
---|---|
1 |
|
2 // +build plan9 windows |
|
3 |
|
4 package main |
|
5 |
|
6 import "os" |
|
7 |
|
8 // ByInode is a FileObjList type with a sort interface |
|
9 type ByInode FileObjList |
|
10 |
|
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] } |
|
13 func (a ByInode) Less(i, j int) bool { |
|
14 return true |
|
15 } |
|
16 |
|
17 func OSHasInodes() bool { |
|
18 return false |
|
19 } |
|
20 |
|
21 func GetDevIno(fi os.FileInfo) (uint64, uint64) { |
|
22 return 0, 0 // Not supported |
|
23 } |