package ref

import "github.com/open-policy-agent/opa/internal/ref"

Package ref implements internal helpers for references

Index

Functions

func ParseDataPath

func ParseDataPath(s string) (ast.Ref, error)

ParseDataPath returns a ref from the slash separated path s rooted at data. All path segments are treated as identifier strings.

Source Files

ref.go

Version
v0.20.0
Published
May 21, 2020
Platform
js/wasm
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.