MCPcopy Create free account
hub / github.com/OpenOSINT/OpenOSINT / _save_report

Function _save_report

openosint/repl.py:222–228  ·  view source on GitHub ↗
(content: str)

Source from the content-addressed store, hash-verified

220
221
222def _save_report(content: str) -> Path:
223 reports_dir = Path("reports")
224 reports_dir.mkdir(exist_ok=True)
225 timestamp = datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
226 path = reports_dir / f"{timestamp}_report.md"
227 path.write_text(content, encoding="utf-8")
228 return path
229
230
231# ---------------------------------------------------------------------------

Callers 2

_run_investigationMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected