MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / list_backups

Function list_backups

Scripts/Developer Base/Mobile Developer Setup.py:426–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

424
425
426def read_text(path: Path) -> str:
427 try:
428 return path.read_text(encoding="utf-8")
429 except FileNotFoundError:
430 return ""
431 except UnicodeDecodeError:
432 return path.read_text(encoding="utf-8", errors="replace")

Callers 1

Calls 1

ensure_dirsFunction · 0.70

Tested by

no test coverage detected