MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _obsidian_note_link

Function _obsidian_note_link

agents/reading-agent/main.py:1987–1993  ·  view source on GitHub ↗
(report_path: Path)

Source from the content-addressed store, hash-verified

1985
1986def _obsidian_note_link(report_path: Path) -> str:
1987 year_dir = report_path.parent.parent
1988 try:
1989 relative = report_path.relative_to(year_dir).with_suffix("")
1990 except ValueError:
1991 relative = report_path.with_suffix("")
1992 return str(relative).replace(os.sep, "/")
1993
1994
1995def _daily_note_category(paper: Dict[str, Any], report_payload: Dict[str, Any]) -> str:
1996 values: List[str] = []

Callers 1

_daily_note_entryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected