Skip to main content

load_repo_name_map_from_path

Function load_repo_name_map_from_path 

Source
pub fn load_repo_name_map_from_path(path: &Path) -> HashMap<String, String>
Expand description

What: Load and resolve repos.conf from disk for app initialization.

Inputs:

  • path: File path (should exist when called).

Output:

  • Name→filter map, or empty map on read/parse failure (warnings logged).

Details:

  • IO errors and parse errors are non-fatal for startup.