Skip to main content

default_repo_path

Function default_repo_path 

Source
pub(crate) fn default_repo_path() -> Result<PathBuf>
Expand description

Resolve the default repository path based on the effective uid.

Root operates on the system repository; everyone else on their per-user repository. Used both when no --repo/--user/--system is given and by the socket-activated path (which has no CLI args to consult).