MCPcopy
hub / github.com/borgbackup/borg / format_archive

Function format_archive

src/borg/helpers/parseformat.py:497–498  ·  view source on GitHub ↗
(archive)

Source from the content-addressed store, hash-verified

495
496
497def format_archive(archive):
498 return "%-36s %s [%s]" % (archive.name, format_time(archive.ts), bin_to_hex(archive.id))
499
500
501def parse_stringified_list(s):

Callers 3

do_deleteMethod · 0.85
do_repo_deleteMethod · 0.85
do_undeleteMethod · 0.85

Calls 2

format_timeFunction · 0.85
bin_to_hexFunction · 0.85

Tested by

no test coverage detected