This commit is contained in:
Gamosoft 2026-03-24 12:07:02 +01:00
parent f516d34afa
commit 81e9664bc7
1 changed files with 1 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import re
import shutil import shutil
import threading import threading
import time import time
import urllib.parse
from dataclasses import dataclass from dataclasses import dataclass
from pathlib import Path from pathlib import Path
from typing import List, Dict, Optional, Tuple, Any, TypeVar, Callable from typing import List, Dict, Optional, Tuple, Any, TypeVar, Callable
@ -996,8 +997,6 @@ def get_backlinks(notes_dir: str, target_note_path: str) -> List[Dict]:
Returns: Returns:
List of backlink objects with path, context, and line_number List of backlink objects with path, context, and line_number
""" """
import urllib.parse
backlinks = [] backlinks = []
notes, _folders = scan_notes_fast_walk(notes_dir, include_media=False) notes, _folders = scan_notes_fast_walk(notes_dir, include_media=False)