Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/borgbackup/borg
/ __format__
Method
__format__
src/borg/helpers/parseformat.py:438–439 ·
view source on GitHub ↗
(self, format_spec)
Source
from the content-addressed store, hash-verified
436
return
obj
437
438
def
__format__(self, format_spec):
439
return
format_file_size(int(self), iec=self.iec).__format__(format_spec)
440
441
442
def
parse_file_size(s):
Callers
1
__format__
Method · 0.45
Calls
1
format_file_size
Function · 0.85
Tested by
no test coverage detected