# fix swapped logic for Windows · gitcafe/zig

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

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

Visibility: public

Requested revision: 46ffc798b6d9bb7be8b016ef7529092d647151ee

Requested commit: 46ffc798b6d9bb7be8b016ef7529092d647151ee

Commit: 46ffc798b6d9bb7be8b016ef7529092d647151ee

Tree: 5141e62de6134816b62c7ff1399dcdc651f63b11

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix swapped logic for Windows

Remove `std.fs.deleteTree`. Callers instead should use
`std.fs.cwd().deleteTree`.

Add `std.fs.deleteTreeAbsolute` for when the caller has an absolute
path.

```

## Parents

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

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