Skip to content

Fix GetCanonicalPathAsync resolving full path instead of parent - #1864

Open
GitMonkey007 wants to merge 1 commit into
sshnet:developfrom
GitMonkey007:fix/getcanonicalpath
Open

GitMonkey007 wants to merge 1 commit into
sshnet:developfrom
GitMonkey007:fix/getcanonicalpath

Conversation

@GitMonkey007

@GitMonkey007 GitMonkey007 commented Nov 9, 2026 •

Copy link
Copy Markdown

Fixes #1863

First time contributing to this project, relatively trivial, but still a bug I think worth fixing. Discovered this issue when looking at MoveTo vs RenameAsync; I've made the relevant change and tried to adhere to the standards/contributing docs; let me know if I've missed something.

The fix itself just moves the problematic implementation details into shared methods (because they previously differ); I've added some tests again trying to adhere to the style in the project.

AI not used to write the change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent behaviour between the synchronous and asynchronous versions of GetCanonicalPath

1 participant