#764·fsnotify

Export `WithOps()`

Author: sunziping2016Created Jun 9, 2026Updated Jul 27, 2026

I'd like to know why withOps is an unexported name, i.e, starting with lowercase.

https://github.com/fsnotify/fsnotify/blob/20b1e15ef3c70caeb37ea2bd184f48ef8382669e/fsnotify.go#L425-L442

It seems some doc assume it is an exported name. So I'm unsure whether it is a typo.

https://github.com/fsnotify/fsnotify/blob/20b1e15ef3c70caeb37ea2bd184f48ef8382669e/CONTRIBUTING.md?plain=1#L72