pathutil

package
v2.11.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package pathutil provides path resolution utilities with no dependencies on other Zaparoo packages. This allows both config and helpers to use these functions without circular imports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExeDir

func ExeDir() string

ExeDir returns the directory containing the currently running executable. Returns an empty string if the executable path cannot be determined.

func ResolveRelativePath

func ResolveRelativePath(path string) string

ResolveRelativePath resolves a path relative to ExeDir if it is not absolute. Absolute and empty paths are returned unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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