mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
refactor: modify get_ai_comments to return line nums, comments and has_bang
This commit is contained in:
parent
1c84fc97a1
commit
a64f14db51
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ class FileWatcher:
|
||||||
dump(res)
|
dump(res)
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
# ai actually, have this function return the line nums, the comments and has_bang!
|
||||||
def get_ai_comments(self, filepath):
|
def get_ai_comments(self, filepath):
|
||||||
"""Extract AI comment line numbers and bang status from a file"""
|
"""Extract AI comment line numbers and bang status from a file"""
|
||||||
line_nums = []
|
line_nums = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue