Skip to content

PathTool.getRelativeFilePath: return empty string instead of null for cross-drive paths#403

Open
elharo wants to merge 2 commits into
masterfrom
fix/pathtool-null-empty
Open

PathTool.getRelativeFilePath: return empty string instead of null for cross-drive paths#403
elharo wants to merge 2 commits into
masterfrom
fix/pathtool-null-empty

Conversation

@elharo

@elharo elharo commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #402


@Test
// Keep in sync with testGetRelativeFilePathNonWindows()
// Keep in sync with testGetRelativeFilePathWindows()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this comment was accurate and should not be changed

@elharo elharo requested a review from olamy July 1, 2026 14:17
@slachiewicz slachiewicz added the bug Something isn't working label Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PathTool.getRelativeFilePath returns null instead of empty string for cross-drive paths

2 participants