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 ¶
ResolveRelativePath resolves a path relative to ExeDir if it is not absolute. Absolute and empty paths are returned unchanged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.