# Add CANNOT_DELETE as a possible error in os.windows.DeleteFile · gitcafe/zig

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

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

Visibility: public

Requested revision: 3c87d4e14ec6b0c2442372cbcc60174d654edddc

Requested commit: 3c87d4e14ec6b0c2442372cbcc60174d654edddc

Commit: 3c87d4e14ec6b0c2442372cbcc60174d654edddc

Tree: 12d18222b2ac1f47ba452d62424a5d60b3821596

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
Add CANNOT_DELETE as a possible error in os.windows.DeleteFile

Can happen when e.g. trying to delete a file with the Read Only flag set

```

## Parents

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

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