goduf-byinode_unix.go
changeset 3 d08d45871171
parent 0 a5642cd03cef
child 17 7e73bb91665e
--- a/goduf-byinode_unix.go	Sat Jun 28 18:28:09 2014 +0200
+++ b/goduf-byinode_unix.go	Sat Jun 28 20:36:10 2014 +0200
@@ -26,10 +26,12 @@
 	return iInode < jInode
 }
 
+// OSHasInodes returns true iff the O.S. uses inodes for its filesystems.
 func OSHasInodes() bool {
 	return true
 }
 
+// GetDevIno returns the device and inode IDs of a given file.
 func GetDevIno(fi os.FileInfo) (uint64, uint64) {
 	dev := fi.Sys().(*syscall.Stat_t).Dev
 	ino := fi.Sys().(*syscall.Stat_t).Ino