Page MenuHomeSoftware Heritage

archive.py
No OneTemporary

archive.py

from typing import Any, Dict, List
from typing_extensions import Protocol, runtime_checkable
@runtime_checkable
class ArchiveInterface(Protocol):
def directory_ls(self, id: bytes) -> List[Dict[str, Any]]:
...
def iter_origins(self):
...
def iter_origin_visits(self, origin: str):
...
def iter_origin_visit_statuses(self, origin: str, visit: int):
...
def release_get(self, ids: List[bytes]):
...
def revision_get(self, ids: List[bytes]):
...
def snapshot_get_all_branches(self, snapshot: bytes):
...

File Metadata

Mime Type
text/x-python
Expires
Jul 4 2025, 8:15 AM (9 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3267674

Event Timeline