perf fix
This commit is contained in:
parent
f516d34afa
commit
81e9664bc7
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue