aider: Added path_components variable to store the split path.

# Context:
USER: after relpath, split path into a list of its components
ASSISTANT: ```python
aider/ctags.py
<<<<<<< ORIGINAL
            path = os.path.relpath(path, os.getcwd())
=======
            path = os.path.relpath(path, os.getcwd())
            path_components = path.split(os.sep)
>>>>>>> UPDATED
```
This commit is contained in:
Paul Gauthier 2023-05-19 08:31:26 -07:00
parent cceb7c3bef
commit 06a33bc1b1

View file

@ -39,6 +39,7 @@ def get_tags(filename):
last += ' ' + signature
path = os.path.relpath(path, os.getcwd())
path_components = path.split(os.sep)
res = []
if scope: