pub fn git_cache_component(url: &str) -> Result<String, MarsError>
Generate a cache directory component for a git clone URL.