johnae / spook

Lightweight programmable evented utility based on LuaJIT and ljsyscall
Other
35 stars 0 forks source link

Use a c struct for identifying watch events on BSD. #26

Closed johnae closed 7 years ago

johnae commented 7 years ago

It's slightly cleaner than just using a string and splitting on a certain character.

johnae commented 7 years ago

Well. It'll also avoid any situation where the split char happens to in path. So, better overall.