paths

package
v0.9.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthDir

func AuthDir() string

AuthDir returns the path to the Claude authentication directory. Unix/macOS: ~/.maestro/.claude Windows: %APPDATA%\maestro\.claude

func CertificatesDir added in v0.9.3

func CertificatesDir() string

CertificatesDir returns the path to the SSL certificates directory. Unix/macOS: ~/.maestro/certificates Windows: %APPDATA%\maestro\certificates

func ConfigFile

func ConfigFile() string

ConfigFile returns the path to the main configuration file. Unix/macOS: ~/.maestro/config.yml Windows: %APPDATA%\maestro\config.yml

func EnsureAuthDir

func EnsureAuthDir() error

EnsureAuthDir creates the authentication directory if it doesn't exist.

func EnsureConfigDir

func EnsureConfigDir() error

EnsureConfigDir creates the configuration directory if it doesn't exist.

func GetConfigDir

func GetConfigDir() string

GetConfigDir returns the platform-appropriate configuration directory. On Unix/macOS: ~/.maestro On Windows: %APPDATA%\maestro

func GitHubAuthDir

func GitHubAuthDir() string

GitHubAuthDir returns the path to the GitHub CLI authentication directory. Unix/macOS: ~/.maestro/gh Windows: %APPDATA%\maestro\gh

func HasLegacyConfig

func HasLegacyConfig() bool

HasLegacyConfig checks if old configuration exists (pre-1.0 paths). Only relevant on Unix/macOS.

func LegacyConfigDir

func LegacyConfigDir() string

LegacyConfigDir returns the old config directory path for migration detection. Returns empty string on Windows (no legacy path on Windows).

func LegacyConfigFile

func LegacyConfigFile() string

LegacyConfigFile returns the old config file path for migration detection. Returns empty string on Windows (no legacy path on Windows).

Types

This section is empty.

Jump to

Keyboard shortcuts

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