# Disentangle from \`error.CurrentWorkingDirectoryUnlinked\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/29b7214027b0c9bddc4c67587ee75b4adcdab4f8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 29b7214027b0c9bddc4c67587ee75b4adcdab4f8

Requested commit: 29b7214027b0c9bddc4c67587ee75b4adcdab4f8

Commit: 29b7214027b0c9bddc4c67587ee75b4adcdab4f8

Tree: 96db647c5d95cf56fbd3d599a071ada0141740b8

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Disentangle from `error.CurrentWorkingDirectoryUnlinked`

This error is actually only ever directly returned from `std.posix.getcwd` (and only on POSIX systems, so never on Windows). Its inclusion in almost all of the error sets its currently found in is a leftover from when `std.fs.path.resolve` called `std.process.getCwdAlloc` (https://github.com/ziglang/zig/issues/13613).

```

## Parents

- [3729a53eec1951376c01c7e799b439b1a84694b5](https://git.cafe/gitcafe/zig/commit/3729a53eec1951376c01c7e799b439b1a84694b5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/29b7214027b0c9bddc4c67587ee75b4adcdab4f8?format=markdown)
