Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match directory descriptors with absolute path to existing ones with relative paths #409

Open
SebastianWendorf opened this issue Feb 15, 2024 · 0 comments
Labels
Milestone

Comments

@SebastianWendorf
Copy link
Contributor

I have a scanned directory (container has absolute path, all sub-directories and files relative paths).
I want to scan some sub-directory of the already scanned one by providing its absolute path.
I expect that the existing file-sub-tree is replaced by a newly scanned one where the provided sub-directory serves a container and has an absolute path and all of its sub-directories and files have a path that is relative to the newly scanned sub-directory.

Example:
After initial scan of root directory:

/home/.../project
|- /some-config.json
| /src
| | /src/MyClass.java
| /subproject 
| | /subproject/some-other-config.json
| | /subproject/src
| | | /subproject/src/SomeSubprojectClass.java

After "rescanning" sub-directory:

/home/.../project
| /some-config.json
| /src
| | /src/MyClass.java
| /home/.../project/subproject     -> newly scanned subdirectory
| | /some-other-config.json
| | /src
| | | /src/SomeSubprojectClass.java
@yaseno2186 yaseno2186 transferred this issue from jqassistant-archive/jqa-core-framework Jul 10, 2024
@DirkMahler DirkMahler added this to the 3.0 milestone Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants