Skip to main content

Module config

Module config 

Source
Expand description

Configuration management for git-valet.

Stores per-project configuration in ~/.git-valets/<project-id>/config.toml.

Structs§

ValetConfig

Functions§

config_path_for
Returns the config file path for the current project
load
Loads the valet config for the current repo
project_id
Generates a unique ID based on the main remote URL (BLAKE3, 16 hex chars)
remove
Removes the valet config
save
Saves the valet config
valets_dir
Returns the ~/.git-valets/ directory