Versions in this module Expand all Collapse all v1 v1.5.2 Jun 10, 2025 Changes in this version + func AsBundle(path string) (*bundle.Bundle, error) + func CleanPath(path string) string + func Dirs(paths []string) []string + func FilteredPaths(paths []string, filter Filter) ([]string, error) + func FilteredPathsFS(fsys fs.FS, paths []string, filter Filter) ([]string, error) + func GetBundleDirectoryLoader(path string) (bundle.DirectoryLoader, bool, error) + func GetBundleDirectoryLoaderFS(fsys fs.FS, path string, filter Filter) (bundle.DirectoryLoader, bool, error) + func GetBundleDirectoryLoaderWithFilter(path string, filter Filter) (bundle.DirectoryLoader, bool, error) + func Paths(path string, recurse bool) (paths []string, err error) + func Schemas(schemaPath string) (*ast.SchemaSet, error) + func SplitPrefix(path string) ([]string, string) + type Errors = v1.Errors + type FileLoader = v1.FileLoader + func NewFileLoader() FileLoader + type Filter = v1.Filter + func GlobExcludeName(pattern string, minDepth int) Filter + type RegoFile = v1.RegoFile + func Rego(path string) (*RegoFile, error) + func RegoWithOpts(path string, opts ast.ParserOptions) (*RegoFile, error) + type Result = v1.Result + func All(paths []string) (*Result, error) + func AllRegos(paths []string) (*Result, error) + func Filtered(paths []string, filter Filter) (*Result, error)