mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 04:05:04 +00:00
add event for repo size
This commit is contained in:
parent
f44e5ae5f9
commit
945d10f554
2 changed files with 106 additions and 101 deletions
|
@ -721,6 +721,11 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
if not sanity_check_repo(repo, io):
|
||||
return 1
|
||||
|
||||
if repo:
|
||||
analytics.event("repo", num_files=len(repo.get_tracked_files()))
|
||||
else:
|
||||
analytics.event("no-repo")
|
||||
|
||||
commands = Commands(
|
||||
io,
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue