public interface FileInfo
The
fi argument passed to most calls in FuseOperations when working on an open file.-
Method Details
-
getFh
-
setFh
-
getFlags
int getFlags()Open flags. Available inFuseOperations.open(String, FileInfo)andFuseOperations.release(String, FileInfo).- Returns:
- Open flags
-
getOpenFlags
Set<StandardOpenOption> getOpenFlags()Parses theflagsforoflagscontained infcntl.h. These flags are:O_RDONLY, O_WRONLY, O_RDWR, O_APPEND, O_CREAT, O_DSYNC, O_SYNC, O_EXCL, O_TRUNCFlags that can not be directly mapped to
StandardOpenOptions will be ignored.- Returns:
- OpenOptions contained in
getFlags()
-
getLockOwner
long getLockOwner()Lock owner id. Available in locking operations and flush- Returns:
- Lock owner id
-