MCPcopy
hub / github.com/Aider-AI/aider / abs_root_path

Method abs_root_path

aider/coders/base_coder.py:566–574  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

564 return True
565
566 def abs_root_path(self, path):
567 key = path
568 if key in self.abs_root_path_cache:
569 return self.abs_root_path_cache[key]
570
571 res = Path(self.root) / path
572 res = utils.safe_abs_path(res)
573 self.abs_root_path_cache[key] = res
574 return res
575
576 fences = all_fences
577 fence = fences[0]

Callers 15

__init__Method · 0.95
add_rel_fnameMethod · 0.95
drop_rel_fnameMethod · 0.95
lint_editedMethod · 0.95
is_file_safeMethod · 0.95
get_all_abs_filesMethod · 0.95
allowed_to_editMethod · 0.95
live_diffsMethod · 0.45
apply_editsMethod · 0.45
apply_editsMethod · 0.45
get_editsMethod · 0.45
apply_editsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected