← Về thư mục
- _canonical_json · function · L40-L46 — def _canonical_json(value: Any) -> str
- _digest · function · L49-L50 — def _digest(value: Mapping[str, Any]) -> str
- _lock_for · function · L53-L56 — def _lock_for(path: Path) -> threading.RLock
- _scope_key · function · L59-L60 — def _scope_key(scope: str, scope_id: str) -> str
- DynamicScopeStore · class · L63-L431 — class DynamicScopeStore
- init · method · L66-L80 — def init( self, root: str | Path, *, clock: Callable[[], float] = time.time, clock_ns: Callable[[], int] = time.time_ns, ) -> None
- write_manifest · method · L82-L106 — def write_manifest(self, record: Mapping[str, Any]) -> Path
- manifest_records · method · L108-L118 — def manifest_records(self) -> tuple[list[dict[str, Any]], list[str]]
- append_activation · method · L120-L160 — def append_activation( self, *, operation: str, scope: str, scope_id: str, name: str, manifest_id: str, actor_root_frame_id: str, actor_project_id: str, ) -> dict[str, Any]
- append_rollback · method · L162-L209 — def append_rollback( self, *, scope: str, scope_id: str, name: str, available_manifest_ids: set[str], actor_root_frame_id: str, actor_project_id: str, ) -> dict[str, Any]
- _append_event_locked · method · L211-L247 — def _append_event_locked( self, *, operation: str, scope: str, scope_id: str, name: str, manifest_id: str, previous_manifest_id: str | None, actor_root_frame_id: str, actor_project_id: str, history: list[dict[str, Any]], ) -> dict[str, Any]
- events · method · L249-L297 — def events( self, *, scope: str, scope_id: str, name: str | None = None, ) -> tuple[list[dict[str, Any]], list[str]]
- active_manifest_id · method · L299-L307 — def active_manifest_id( self, *, scope: str, scope_id: str, name: str, ) -> tuple[str | None, list[str]]
- delete_project_scope · method · L309-L371 — def delete_project_scope(self, project_id: str) -> dict[str, int]
- public_event · method · L374-L392 — def public_event(event: Mapping[str, Any]) -> dict[str, Any]
- _validate_scope · method · L395-L401 — def _validate_scope(scope: str, scope_id: str) -> None
- _read_record · method · L404-L417 — def _read_record( path: Path, identifier_pattern: re.Pattern[str], kind: str, ) -> dict[str, Any]
- _atomic_write · method · L420-L431 — def _atomic_write(destination: Path, encoded: str) -> None