package
0.10.2
Repository: https://github.com/rite2nikhil/opa.git
Documentation: pkg.go.dev

# Functions

All returns a Result object loaded (recursively) from the specified paths.
AllRegos returns a Result object loaded (recursively) with all Rego source files from the specified paths.
CleanPath returns the normalized version of a path that can be used as an identifier.
Filtered returns a Result object loaded (recursively) from the specified paths while applying the given filters.
GlobExcludeName excludes files and directories whose names do not match the shell style pattern at minDepth or greater.
Paths returns a sorted list of files contained at path.
Rego returns a RegoFile object loaded from the given path.
SplitPrefix returns a tuple specifying the document prefix and the file path.

# Structs

RegoFile represents the result of loading a single Rego source file.
Result represents the result of successfully loading zero or more files.

# Type aliases

Filter defines the interface for filtering files during loading.