# Add NotDir as possible error for os.inotify_add_watch · gitcafe/zig

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

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

Visibility: public

Requested revision: ba47e0937321d2371875fbc3d8cecbd9bfe407b1

Requested commit: ba47e0937321d2371875fbc3d8cecbd9bfe407b1

Commit: ba47e0937321d2371875fbc3d8cecbd9bfe407b1

Tree: 78af4b4fa72415dfeb83ba4d1075b6a4a69d736f

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
Add NotDir as possible error for os.inotify_add_watch

Possible when "mask contains IN_ONLYDIR and pathname is not a directory."

```

## Parents

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

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