Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathPolicies ¶
type PathPolicies = PathTrie
func NewPathPolicies ¶
func NewPathPolicies(entries map[string]PathPolicy) *PathPolicies
Create a new PathPolicies trie from a map of path to PathPolicy
func (*PathPolicies) Check ¶
func (pol *PathPolicies) Check(fsPath string) error
Check a given path against the PathPolicies
type PathPolicy ¶
type PathTrie ¶
func NewPathTrieFromMap ¶
Construct a new trie from a map of paths to their payloads. Returns the root node of the trie.
Click to show internal directories.
Click to hide internal directories.