| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR addresses GUI project-file path handling for excluded paths by centralizing “make path relative to project directory” logic in ProjectFile, reusing it in the dialog, and adding regression tests.
Changes:
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file| File | Description |
|---|---|
| gui/test/projectfile/testprojectfile.h | Adds new test slot declarations for excluded-path relativization behavior. |
| gui/test/projectfile/testprojectfile.cpp | Adds tests validating when excluded paths are converted to relative vs kept absolute. |
| gui/projectfiledialog.cpp | Uses ProjectFile::getRelativePath() instead of duplicating relative-path conversion logic. |
| gui/projectfile.h | Declares the new getRelativePath() helper with documentation. |
| gui/projectfile.cpp | Implements getRelativePath() and applies it when setting excluded paths. |
gui/test/projectfile/testprojectfile.cpp:226
// Absolute path is kept as-is when making it relative would require walking up more than 2 parent folders
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.