Skip to main content

resolve_repos_config_path

Function resolve_repos_config_path 

Source
pub fn resolve_repos_config_path() -> Option<PathBuf>
Expand description

What: Locate the repos.conf file for third-party repository definitions (TOML).

Inputs:

  • None (reads HOME / XDG_CONFIG_HOME).

Output:

  • Some(PathBuf) when a candidate file exists; None otherwise.

Details:

  • Checks $HOME/.config/pacsea/repos.conf then XDG_CONFIG_HOME/pacsea/repos.conf.
  • Does not fall back to legacy pacsea.conf (repos live only in the split layout).