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

fix: Fixing UNC path GetFullPath when Current Directory is a UNC path #887

Merged
merged 2 commits into from
Dec 19, 2022

Conversation

michal-ciechan
Copy link
Contributor

Currently, if you switch current directory in the MockFileSystem to a UNC path, and try to enumerate files, it blows up.

Attempting to fix it, although it feels like a hack.

@michal-ciechan michal-ciechan changed the title Fixing UNC path GetFullPath when Current Directory is a UNC path fix: Fixing UNC path GetFullPath when Current Directory is a UNC path Oct 25, 2022
Copy link
Contributor

@fgreinacher fgreinacher left a comment

Choose a reason for hiding this comment

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

Thanks a lot 👍

@github-actions
Copy link

This is addressed in release v19.1.5.

@github-actions github-actions bot added the state: released Issues that are released label Jan 24, 2023
vbreuss pushed a commit to Testably/Testably.Abstractions that referenced this pull request Feb 13, 2023
…19.1.14 (#239)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[TestableIO.System.IO.Abstractions](https://togithub.com/TestableIO/System.IO.Abstractions)
| nuget | patch | `19.1.1` -> `19.1.14` |

---

### Release Notes

<details>
<summary>TestableIO/System.IO.Abstractions</summary>

###
[`v19.1.14`](https://togithub.com/TestableIO/System.IO.Abstractions/releases/tag/v19.1.14)

##### What's Changed

- feat: Add an explicit cast operator for FileSystemStream by
[@&#8203;Birnsen](https://togithub.com/Birnsen) in
[TestableIO/System.IO.Abstractions#940

##### New Contributors

- [@&#8203;Birnsen](https://togithub.com/Birnsen) made their first
contribution in
[TestableIO/System.IO.Abstractions#940

**Full Changelog**:
TestableIO/System.IO.Abstractions@v19.1.13...v19.1.14

###
[`v19.1.13`](https://togithub.com/TestableIO/System.IO.Abstractions/releases/tag/v19.1.13)

##### What's Changed

- chore(deps): update dependency benchmarkdotnet to v0.13.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#928
- chore(deps): update dependency moq to v4.18.4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#930
- docs: mention related projects by
[@&#8203;fgreinacher](https://togithub.com/fgreinacher) in
[TestableIO/System.IO.Abstractions#931
- chore(deps): update dependency dotnet-sdk to v7.0.102 by
[@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#932
- chore(deps): update dependency benchmarkdotnet to v0.13.4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#933
- chore(deps): update danielpalme/reportgenerator-github-action action
to v5.1.14 by [@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#934
- chore(deps): update danielpalme/reportgenerator-github-action action
to v5.1.15 by [@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#936
- feat: implement MockFile.ReadLinesAsync by
[@&#8203;patricksadowski](https://togithub.com/patricksadowski) in
[TestableIO/System.IO.Abstractions#935

##### New Contributors

- [@&#8203;patricksadowski](https://togithub.com/patricksadowski) made
their first contribution in
[TestableIO/System.IO.Abstractions#935

**Full Changelog**:
TestableIO/System.IO.Abstractions@v19.1.5...v19.1.13

###
[`v19.1.5`](https://togithub.com/TestableIO/System.IO.Abstractions/releases/tag/v19.1.5)

#### What's Changed

- chore(deps): update dependency dotnet-sdk to v7.0.101 by
[@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#924
- chore(deps): update dependency microsoft.net.test.sdk to v17.4.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#925
- chore(deps): update danielpalme/reportgenerator-github-action action
to v5.1.13 by [@&#8203;renovate](https://togithub.com/renovate) in
[TestableIO/System.IO.Abstractions#926
- fix: Fixing UNC path GetFullPath when Current Directory is a UNC path
by [@&#8203;michal-ciechan](https://togithub.com/michal-ciechan) in
[TestableIO/System.IO.Abstractions#887

#### New Contributors

- [@&#8203;michal-ciechan](https://togithub.com/michal-ciechan) made
their first contribution in
[TestableIO/System.IO.Abstractions#887

**Full Changelog**:
TestableIO/System.IO.Abstractions@v19.1.1...v19.1.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Testably/Testably.Abstractions).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEzMC4xIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: released Issues that are released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants