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

Function invalidate_tools_cache

src/main.rs:4001–4004  ·  view source on GitHub ↗

Invalidate (delete) the tools cache

()

Source from the content-addressed store, hash-verified

3999
4000/// Invalidate (delete) the tools cache
4001fn invalidate_tools_cache() {
4002 let cache_path = get_tools_cache_path();
4003 let _ = fs::remove_file(&cache_path);
4004}
4005
4006/// Validate that required tools are available before starting a scan
4007/// Uses cache to skip full discovery on subsequent runs

Callers 1

mainFunction · 0.85

Calls 1

get_tools_cache_pathFunction · 0.85

Tested by

no test coverage detected