Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathPolicies ¶
type PathPolicies struct {
// contains filtered or unexported fields
}
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 ¶
Click to show internal directories.
Click to hide internal directories.