goduf-byinode_fallback.go
author Mikael Berthe <mikael@lilotux.net>
Sat, 28 Jun 2014 14:03:08 +0200
changeset 0 a5642cd03cef
child 3 d08d45871171
permissions -rw-r--r--
Goduf - initial version-controlled revision


// +build plan9 windows

package main

import "os"

// ByInode is a FileObjList type with a sort interface
type ByInode FileObjList

func (a ByInode) Len() int      { return len(a) }
func (a ByInode) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
func (a ByInode) Less(i, j int) bool {
	return true
}

func OSHasInodes() bool {
	return false
}

func GetDevIno(fi os.FileInfo) (uint64, uint64) {
	return 0, 0 // Not supported
}