# Move delete file logic into windows.DeleteFile fn · gitcafe/zig

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

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

Visibility: public

Requested revision: 8981b18fee9dc1db7faa8343d0d2151c3c0671fd

Requested commit: 8981b18fee9dc1db7faa8343d0d2151c3c0671fd

Commit: 8981b18fee9dc1db7faa8343d0d2151c3c0671fd

Tree: 57fccb7375a3ef130b153ed5c12755d1f1d85de9

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Move delete file logic into windows.DeleteFile fn

This way, we can remove more `kernel32` calls such as `RemoveDirectoryW`
or `DeleteFileW`, and use `std.os.windows.DeleteFile` instead which
is purely NT-based.

```

## Parents

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

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