package
0.0.0-20190423063614-7d2c6ba3e297
Repository: https://github.com/osrg/hookfs.git
Documentation: pkg.go.dev

# Functions

LogLevel gets the log level.
NewHookFs creates a new HookFs object.
SetLogLevel sets the log level.

# Constants

LogLevelMax is the maximum log level.
LogLevelMin is the minimum log level.

# Structs

HookFs is the object hooking the fs.

# Interfaces

Hook is the base interface for user-written hooks.
HookContext is the context objects for interaction between prehooks and posthooks.
HookOnFsync is called on fsync.
HookOnMkdir is called on mkdir.
HookOnOpen is called on open.
HookOnOpenDir is called on opendir.
HookOnRead is called on read.
HookOnRename is called on rename.
HookOnRmdir is called on rmdir.
HookOnWrite is called on write.
HookWithInit is called on mount.