pathutil

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Overview

Package pathutil holds filesystem-path helpers shared across the daemon without pulling in any other internal package, so packages like internal/config and internal/configbuilder can both depend on it without an import cycle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(p string) string

Expand resolves ~, $VAR/${VAR}, and %VAR% references in a path. Unknown variables are preserved verbatim. It does NOT make the path absolute — callers that want config-relative resolution should test filepath.IsAbs on the result and join against a base directory themselves.

Types

This section is empty.

Jump to

Keyboard shortcuts

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