Documentation ¶ Index ¶ func CopyAllowed(source, destination string, names []string) error type Allowlist func Load(path string) (*Allowlist, error) func (a *Allowlist) Allows(name string) bool func (a *Allowlist) ValidateDirectory(directory string) ([]string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CopyAllowed ¶ func CopyAllowed(source, destination string, names []string) error Types ¶ type Allowlist ¶ type Allowlist struct { Version int `json:"version"` Patterns []string `json:"patterns"` // contains filtered or unexported fields } func Load ¶ func Load(path string) (*Allowlist, error) func (*Allowlist) Allows ¶ func (a *Allowlist) Allows(name string) bool func (*Allowlist) ValidateDirectory ¶ func (a *Allowlist) ValidateDirectory(directory string) ([]string, error) Source Files ¶ View all Source files allowlist.go Click to show internal directories. Click to hide internal directories.