Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Aider-AI/aider
/ is_dirty
Method
is_dirty
aider/repo.py:597–601 ·
view source on GitHub ↗
(self, path=None)
Source
from the content-addressed store, hash-verified
595
return
list(dirty_files)
596
597
def
is_dirty(self, path=None):
598
if
path and not self.path_in_repo(path):
599
return
True
600
601
return
self.repo.is_dirty(path=path)
602
603
def
get_head_commit(self):
604
try
:
Callers
9
main
Function · 0.80
commit
Method · 0.80
raw_cmd_commit
Method · 0.80
cmd_lint
Method · 0.80
raw_cmd_undo
Method · 0.80
check_for_dirty_commit
Method · 0.80
test_only_commit_gpt_edited_file
Method · 0.80
test_cmd_commit
Method · 0.80
test_cmd_lint_with_dirty_file
Method · 0.80
Calls
1
path_in_repo
Method · 0.95
Tested by
3
test_only_commit_gpt_edited_file
Method · 0.64
test_cmd_commit
Method · 0.64
test_cmd_lint_with_dirty_file
Method · 0.64