mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
chore: Add item name to repo map progress
This commit is contained in:
parent
2bc9386876
commit
11480f6110
1 changed files with 3 additions and 3 deletions
|
@ -380,7 +380,7 @@ class RepoMap:
|
||||||
if self.verbose:
|
if self.verbose:
|
||||||
self.io.tool_output(f"Processing {fname}")
|
self.io.tool_output(f"Processing {fname}")
|
||||||
if progress and not showing_bar:
|
if progress and not showing_bar:
|
||||||
progress()
|
progress("Updating repo map: " + fname)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
file_ok = Path(fname).is_file()
|
file_ok = Path(fname).is_file()
|
||||||
|
@ -459,7 +459,7 @@ class RepoMap:
|
||||||
|
|
||||||
for ident in idents:
|
for ident in idents:
|
||||||
if progress:
|
if progress:
|
||||||
progress()
|
progress("Updating repo map: " + ident)
|
||||||
|
|
||||||
definers = defines[ident]
|
definers = defines[ident]
|
||||||
|
|
||||||
|
@ -512,7 +512,7 @@ class RepoMap:
|
||||||
ranked_definitions = defaultdict(float)
|
ranked_definitions = defaultdict(float)
|
||||||
for src in G.nodes:
|
for src in G.nodes:
|
||||||
if progress:
|
if progress:
|
||||||
progress()
|
progress("Updating repo map: " + src)
|
||||||
|
|
||||||
src_rank = ranked[src]
|
src_rank = ranked[src]
|
||||||
total_weight = sum(data["weight"] for _src, _dst, data in G.out_edges(src, data=True))
|
total_weight = sum(data["weight"] for _src, _dst, data in G.out_edges(src, data=True))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue