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

Method format_time

src/borg/helpers/parseformat.py:1115–1116  ·  view source on GitHub ↗
(self, key, item)

Source from the content-addressed store, hash-verified

1113 return hash.hexdigest()
1114
1115 def format_time(self, key, item):
1116 return OutputTimestamp(safe_timestamp(item.get(key) or item.mtime))
1117
1118 def format_iso_time(self, key, item):
1119 return self.format_time(key, item).isoformat()

Callers 1

format_iso_timeMethod · 0.95

Calls 3

OutputTimestampClass · 0.85
safe_timestampFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected