A thin wrapper around inotify Linux syscalls and capabilities. Allows for easier interfacing with inotify through usual Go patterns instead of directly using the syscall library.
See examples/basic
for basic usage and tips on how to use the wrapper.
go get github.com/ffhan/[email protected]
- igotify uses
unistd.h
GNU library to fetch aNAME_MAX
configuration value for the system. If not present on the machine, igotify will assume NAME_MAX to be 255. You can test if that assumption is correct for the system withgetconf NAME_MAX <filepath>
for any path.