Skip to content

Commit e85822f

Browse files
qchappCopilot
andauthored
Removed unused function
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e1bf393 commit e85822f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/ai_agent/catalog/sync.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,7 @@ def _first_str(v):
123123
return ""
124124
return str(v).strip()
125125

126-
def _tail_token(v):
127-
s = _first_str(v).rstrip("/#")
128-
if not s:
129-
return ""
130-
if "#" in s:
131-
s = s.rsplit("#", 1)[-1]
132-
if "/" in s:
133-
s = s.rsplit("/", 1)[-1]
134-
return s
135-
126+
# (lines 126–135 removed: unused _tail_token function)
136127
docs: list[SoftwareDoc] = []
137128
total = 0
138129
made = 0

0 commit comments

Comments
 (0)