Expand description
env.cue file detection and package validation.
Provides utilities for finding and validating env.cue files within a CUE module hierarchy.
Enums§
- EnvFile
Status - Status of env.cue file detection.
Functions§
- adjust_
meta_ key_ path - Adjust a meta key path by replacing
"./"prefix with the relative path. - compute_
relative_ path - Compute relative path from module root to target directory.
- detect_
package_ name - Detect the CUE package name from a file.
- discover_
env_ cue_ directories - Discover all directories containing env.cue files with matching package.
- find_
ancestor_ env_ files - Walk up from
startcollecting directories containing env.cue files. - find_
cue_ module_ root - Find the CUE module root by walking up from
start. - find_
env_ file - Locate env.cue in
pathand ensure it declares the expected package. - format_
eval_ errors - Format a list of evaluation errors into a human-readable summary.