Update convention for op handle.

This commit is contained in:
ed committed 2026-08-24 15:31:06 -04:00
1 parent ca16dae100
commit 0a281c571c
14 files changed
+841 -46

No files matched your search

+2 -1
View File
@@ -401,7 +401,8 @@ def _upsert_wikilink(path: Path, target: str) -> None:
match = _WIKILINK_ITEM.match(line)
if match:
name = match.group(1)
if name in real_dirs or not real_dirs:
# wikilinks are vault-root paths; compare the basename to real_dirs
if name.rsplit("/", 1)[-1] in real_dirs or not real_dirs:
if name not in names:
names.append(name)
else: