updated sample map

This commit is contained in:
Paul Gauthier 2023-10-22 15:06:35 -07:00
parent d953742696
commit 5edf20915f
2 changed files with 26 additions and 14 deletions

View file

@ -381,7 +381,7 @@ class RepoMap:
margin=0, margin=0,
mark_lois=False, mark_lois=False,
loi_pad=0, loi_pad=0,
header_max=3, # header_max=30,
show_top_of_file_parent_scope=False, show_top_of_file_parent_scope=False,
) )
cur_fname = this_fname cur_fname = this_fname

View file

@ -105,30 +105,42 @@ source code, by including the critical lines of code for each definition.
Here's a Here's a
sample of the map of the aider repo, just showing the maps of sample of the map of the aider repo, just showing the maps of
[io.py](https://github.com/paul-gauthier/aider/blob/main/aider/io.py) [io.py](https://github.com/paul-gauthier/aider/blob/main/coders/base_coder.py)
and and
[main.py](https://github.com/paul-gauthier/aider/blob/main/aider/main.py) [main.py](https://github.com/paul-gauthier/aider/blob/main/aider/commands.py)
: :
``` ```
aider/io.py: aider/coders/base_coder.py:
⋮... ⋮...
│class InputOutput: │class Coder:
│ abs_fnames = None
⋮... ⋮...
│ def read_text(self, filename): @classmethod
│ def create(
│ self,
│ main_model,
│ edit_format,
│ io,
│ skip_model_availabily_check=False,
│ **kwargs,
⋮... ⋮...
│ def write_text(self, filename, content): │ def abs_root_path(self, path):
⋮... ⋮...
│ def confirm_ask(self, question, default="y"): │ def run(self, with_message=None):
⋮...
│ def tool_error(self, message):
⋮...
│ def tool_output(self, *messages, log_only=False):
⋮... ⋮...
aider/main.py: aider/commands.py:
⋮... ⋮...
│def main(argv=None, input=None, output=None, force_git_root=None): │class Commands:
│ voice = None
⋮...
│ def get_commands(self):
⋮...
│ def get_command_completions(self, cmd_name, partial):
⋮...
│ def run(self, inp):
⋮... ⋮...
``` ```