MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _notify_only

Function _notify_only

graphify/watch.py:1092–1100  ·  view source on GitHub ↗

Write a flag file and print a notification (fallback for non-code-only corpora).

(watch_path: Path)

Source from the content-addressed store, hash-verified

1090
1091
1092def _notify_only(watch_path: Path) -> None:
1093 """Write a flag file and print a notification (fallback for non-code-only corpora)."""
1094 flag = watch_path / _GRAPHIFY_OUT / "needs_update"
1095 flag.parent.mkdir(parents=True, exist_ok=True)
1096 flag.write_text("1", encoding="utf-8")
1097 print(f"\n[graphify watch] New or changed files detected in {watch_path}")
1098 print("[graphify watch] Non-code files changed - semantic re-extraction requires LLM.")
1099 print("[graphify watch] Run `/graphify --update` in Claude Code to update the graph.")
1100 print(f"[graphify watch] Flag written to {flag}")
1101
1102
1103def _has_non_code(changed_paths: list[Path]) -> bool:

Callers 4

watchFunction · 0.85

Calls

no outgoing calls