Versions in this module Expand all Collapse all v1 v1.5.2 Jun 10, 2025 Changes in this version + type BundleLoader struct + DirectoryLoader bundle.DirectoryLoader + IsDir bool + type Descriptor struct + Path string + Root string + type InsertAndCompileOptions struct + Bundles map[string]*bundle.Bundle + EnablePrintStatements bool + Files loader.Result + MaxErrors int + ParserOptions ast.ParserOptions + Store storage.Store + Txn storage.Transaction + type InsertAndCompileResult struct + Compiler *ast.Compiler + Metrics metrics.Metrics + func InsertAndCompile(ctx context.Context, opts InsertAndCompileOptions) (*InsertAndCompileResult, error) + type LoadPathsResult struct + Bundles map[string]*bundle.Bundle + Files loader.Result + func LoadPaths(paths []string, filter loader.Filter, asBundle bool, ...) (*LoadPathsResult, error) + func LoadPathsForRegoVersion(regoVersion ast.RegoVersion, paths []string, filter loader.Filter, ...) (*LoadPathsResult, error) + type WalkPathsResult struct + BundlesLoader []BundleLoader + FileDescriptors []*Descriptor + func WalkPaths(paths []string, filter loader.Filter, asBundle bool) (*WalkPathsResult, error)