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

Function _load_graphifyrc

graphify/hooks.py:720–727  ·  view source on GitHub ↗

Load `` /.graphifyrc``; the parser lives in :mod:`graphify.rcfile`. Kept as the hooks-side name so callers and tests need not move. Returns ``viz_node_limit`` (used here) alongside any other option the file sets.

(root: Path)

Source from the content-addressed store, hash-verified

718
719
720def _load_graphifyrc(root: Path) -> dict:
721 """Load ``<root>/.graphifyrc``; the parser lives in :mod:`graphify.rcfile`.
722
723 Kept as the hooks-side name so callers and tests need not move. Returns
724 ``viz_node_limit`` (used here) alongside any other option the file sets.
725 """
726 from graphify.rcfile import load_graphifyrc
727 return load_graphifyrc(root)
728
729
730def _git_root(path: Path) -> Path | None:

Callers 4

test_graphifyrc_parsingFunction · 0.90
installFunction · 0.85
statusFunction · 0.85

Calls 1

load_graphifyrcFunction · 0.90