configpath

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package configpath defines the operator-supplied path conventions shared by the OSS executable and distributions built on it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseList

func ParseList(value string) []string

ParseList parses the canonical comma-separated directory-list syntax. Order is significant: filesystem discovery uses first occurrence wins.

func ResolveFile

func ResolveFile(workspaceRoot, configured string) string

ResolveFile resolves an operator-supplied file against the workspace when it is relative. Absolute paths are returned cleaned and otherwise unchanged.

func ValidateAbsolute

func ValidateAbsolute(label string, dirs []string) error

ValidateAbsolute requires every configured system/operator root to be absolute. Missing roots are valid and may be skipped by discovery, but a relative root is ambiguous because it could resolve against either the process cwd or the selected workspace.

func ValidateRelative

func ValidateRelative(label string, dirs []string) error

ValidateRelative requires workspace-owned roots to remain relative to the selected workspace. Operator-owned absolute roots belong in the matching system directory list, which has different precedence and access semantics.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL