MCPcopy Create free account
hub / github.com/KingOfBugbounty/enumrust / get_tools_cache_path

Function get_tools_cache_path

src/main.rs:3925–3928  ·  view source on GitHub ↗

Get path to the tools cache file

()

Source from the content-addressed store, hash-verified

3923
3924/// Get path to the tools cache file
3925fn get_tools_cache_path() -> PathBuf {
3926 let home = std::env::var("HOME").unwrap_or_else(|_| "/root".to_string());
3927 PathBuf::from(home).join(".enumrust_tools_cache.json")
3928}
3929
3930/// Save discovered tool paths to cache file
3931fn save_tools_cache(discovered: &std::collections::HashMap<String, PathBuf>) {

Callers 3

save_tools_cacheFunction · 0.85
invalidate_tools_cacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected