Module

pyinc_docs.cache

Durable checkpoint generations and cache-state safety.

class

CacheSession

class CacheSession
function

clean_cache

def clean_cache(state_dir: str) -> None
function

ledger_directory

def ledger_directory(session: CacheSession, output_root: str) -> str
function

open_cache

def open_cache(source: str, title: str, state_dir: str) -> CacheSession
function

save_cache

def save_cache(session: CacheSession) -> str | None

Save and activate a checkpoint, returning None when cache publication fails.