Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P735
interface.py: what remains to type... in order of appearance in current swh.storage.interface module
Active
Public
Actions
Authored by
ardumont
on Aug 3 2020, 5:12 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
def content_update(self, content, keys=[]):
pass
def content_get(self, content):
pass
@deprecated
def content_get_range(self, start, end, limit=1000):
pass
def content_get_partition(
self, partition_id: int, nb_partitions: int, limit: int = 1000, page_token: str = None,
):
pass
def content_get_metadata(self, contents: List[bytes]) -> Dict[bytes, List[Dict]]:
pass
def content_missing(self, content, key_hash="sha1"):
pass
def content_missing_per_sha1(self, contents):
pass
def content_missing_per_sha1_git(self, contents):
pass
def content_find(self, content):
pass
def skipped_content_missing(self, contents):
pass
def directory_missing(self, directories):
pass
def directory_ls(self, directory, recursive=False):
pass
def directory_entry_get_by_path(self, directory, paths):
pass
def revision_missing(self, revisions):
pass
def revision_get(self, revisions):
pass
def revision_log(self, revisions, limit=None):
pass
def revision_shortlog(self, revisions, limit=None):
pass
def release_missing(self, releases):
pass
def release_get(self, releases):
pass
def snapshot_missing(self, snapshots):
pass
def snapshot_get(self, snapshot_id):
pass
def snapshot_get_by_origin_visit(self, origin, visit):
pass
def snapshot_count_branches(self, snapshot_id):
pass
def snapshot_get_branches(
self, snapshot_id, branches_from=b"", branches_count=1000, target_types=None
):
pass
def object_find_by_sha1_git(self, ids):
pass
def origin_get_by_sha1(self, sha1s):
pass
@deprecated
def diff_directories(self, from_dir, to_dir, track_renaming=False):
pass
@deprecated
def diff_revisions(self, from_rev, to_rev, track_renaming=False):
pass
@deprecated
def diff_revision(self, revision, track_renaming=False):
pass
Event Timeline
ardumont
created this paste.
Aug 3 2020, 5:12 PM
2020-08-03 17:12:04 (UTC+2)
Log In to Comment