Get path to the tools cache file
()
| 3923 | |
| 3924 | /// Get path to the tools cache file |
| 3925 | fn 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 |
| 3931 | fn save_tools_cache(discovered: &std::collections::HashMap<String, PathBuf>) { |
no outgoing calls
no test coverage detected