MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / update

Method update

codewiki/cli/utils/progress.py:201–215  ·  view source on GitHub ↗

Update progress for a module. Args: module_name: Name of the module cached: Whether the module was loaded from cache

(self, module_name: str, cached: bool = False)

Source from the content-addressed store, hash-verified

199
200 if self.verbose:
201 status = "✓ (cached)" if cached else "⟳ (generating)"
202 click.echo(f" [{self.current_module}/{self.total_modules}] {module_name}... {status}")
203 elif self.bar:
204 self.bar.update(1)
205
206 def finish(self):
207 """Finish progress bar."""
208 if self.bar:
209 self.bar.__exit__(None, None, None)
210 self.bar = None

Callers 2

_analyze_python_fileMethod · 0.80
_walkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected