MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / compute

Function compute

codeclash/viewer/app.py:458–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

456 cache_key = f"game_folders:{base_dir}"
457
458 def compute():
459 try:
460 return _find_all_game_folders_impl(base_dir)
461 except TimeoutError:
462 logger.error(f"Timeout while finding game folders in {base_dir}")
463 return []
464
465 return _cache.get_or_compute(cache_key, compute, timeout_seconds=300)
466

Callers

nothing calls this directly

Calls 2

_fetch_batch_jobs_implFunction · 0.85

Tested by

no test coverage detected