MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / main

Function main

methods/MIRIX/scripts/clean_cache.py:209–224  ·  view source on GitHub ↗

Main function.

()

Source from the content-addressed store, hash-verified

207
208
209def main():
210 """Main function."""
211 try:
212 print_header()
213 results = clean_cache()
214 print_summary(results)
215 return 0
216 except KeyboardInterrupt:
217 print(f"\n{Colors.YELLOW}Cleanup interrupted by user{Colors.NC}")
218 return 1
219 except Exception as e:
220 print(f"\n{Colors.RED}Error during cleanup: {e}{Colors.NC}")
221 import traceback
222
223 traceback.print_exc()
224 return 1
225
226
227if __name__ == "__main__":

Callers 1

clean_cache.pyFile · 0.70

Calls 3

print_headerFunction · 0.85
clean_cacheFunction · 0.85
print_summaryFunction · 0.85

Tested by

no test coverage detected