package path
import "cuelang.org/go/internal/core/path"
Package path provides utilities for converting cue.Selectors and cue.Paths to internal equivalents.
Index ¶
- func MakeFeature(r *runtime.Runtime, s cue.Selector) adt.Feature
- func ToFeatureType(t cue.SelectorType) adt.FeatureType
Functions ¶
func MakeFeature ¶
MakeFeature converts a cue.Selector to an adt.Feature for a given runtime.
func ToFeatureType ¶
func ToFeatureType(t cue.SelectorType) adt.FeatureType
ToFeatureType converts a SelectorType constant to a FeatureType. It assumes a single label bit is set.
Source Files ¶
selector.go
- Version
- v0.12.0 (latest)
- Published
- Jan 30, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 8 hours ago –
Tools for package owners.