Skip to content

feat: rg-backed backlinks in okf-graph - #69

Merged
RichardHightower merged 1 commit into
mainfrom
feat/rg-accelerator
Aug 30, 2026
Merged

feat: rg-backed backlinks in okf-graph#69
RichardHightower merged 1 commit into
mainfrom
feat/rg-accelerator

Conversation

@RichardHightower

Copy link
Copy Markdown
Contributor

Fixes #68.

okf-graph.py backlinks uses ripgrep when the query is an existing path. Parses only files that mention the target. Identity matches a full load_bundle. --no-rg forces the scan. Ambiguous stem queries still load the bundle so they keep erroring instead of silently picking a file.

When rg is on PATH (OKF_RG_PATH / PKC_RG_PATH) and the query is an
existing path, backlinks parses only files that mention the target.
Identity matches a full load. --no-rg forces the previous scan.
Ambiguous stem queries still load the bundle so they keep erroring.

Fixes #68
@RichardHightower
RichardHightower merged commit c4e3a17 into main Aug 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rg-backed backlinks in okf-graph

1 participant