package
8.0.8
Repository: https://github.com/talkincode/toughradius.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewLocalDrive returns new LocalDrive object which represents the file folder on local drive due to ForceRootPolicy all operations outside of the root folder will be blocked.

# Constants

Supported operation modes.
Supported operation modes.

# Structs

AllowPolicy allows all operations.
CombinedPolicy allows to join multiple policies together.
DenyPolicy allows all operations.
DriveConfig contains drive configuration.
Drive represents an isolated file system.
File stores info about single file.
ListConfig contains file listing options.
OperationConfig contains file operation options.
ReadOnlyPolicy allows read access and blocks any modifications.

# Interfaces

No description provided by the author
File stores info about single file.
No description provided by the author
No description provided by the author
Policy is a rule which allows or denies operation.

# Type aliases

MatcherFunc receives path and returns true if path matches the rule.