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

Function _safe_read_json

Scripts/Developer Base/Smart Notes.py:76–81  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

74# --- I/O helpers ---
75
76def _safe_read_json(path):
77 try:
78 with open(path, 'r') as f:
79 return json.load(f)
80 except Exception:
81 return {}
82
83
84def load_notes():

Callers 2

load_notesFunction · 0.70
load_configFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected