Documentation
¶
Overview ¶
Package sysfs provides a file system implementation that ensures safe file operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnsafeFilePathOutsideDirectory indicates the file path is outside the allowed directory. ErrUnsafeFilePathOutsideDirectory = errors.New("unsafe file path: outside allowed directory") // ErrUnsafeFilePathSymlink indicates the file path is a symlink which is not allowed. ErrUnsafeFilePathSymlink = errors.New("unsafe file path: symlink detected") // ErrConfigFileTooLarge indicates the config file exceeds the maximum allowed size. ErrConfigFileTooLarge = errors.New("config file too large") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.