Files
make-cad/docs/api/CachePolicy.md
T
2026-08-11 17:06:00 +08:00

461 B

CachePolicy

Class Definition

class CachePolicy(mode: CacheMode = CacheMode.READ_WRITE, root: Path = Path('.simplecad/cache'), verify_reads: bool = True, quarantine_corrupt: bool = True, lock_timeout_seconds: float = 30.0, stale_lock_seconds: float = 300.0)

Source: cache/policy.py

Import Surface

  • top-level: from simplecadapi import CachePolicy

Description

Resolved persistent cache location, integrity, and locking policy.