From f069a55700fb6966edc53b6fbdb8ddc1569abf99 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Fri, 27 Feb 2015 11:03:19 +1100 Subject: [PATCH] Defined DirOffset. --- file_system.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/file_system.go b/file_system.go index 6e086cd..c9105b8 100644 --- a/file_system.go +++ b/file_system.go @@ -104,6 +104,11 @@ type GenerationNumber uint64 // This corresponds to fuse_file_info::fh. type HandleID uint64 +// An offset into an open directory handle. This is opaque to FUSE, and can be +// used for whatever purpose the file system desires. See notes on +// ReadDirRequest.Offset for details. +type DirOffset uint64 + // XXX: Comments for all type Dirent struct { Inode InodeID