uncurry processCallbacksForEventPath
use pattern matching to deconstruct messages in receive method
remove Agents from the callback registry
make all callback registry update methods private
remove eventType parameter to CallbackRegistry. It's currently unused, and we store the eventType information as the key for the callbackRegistry in MonitorActor
pathToCallbacks is no longer used
CallbackRegistry doesnt take an eventType parameter anymore
remove event type parameter from CallbackRegistry
use pattern matching in CallbackActor
dont need WatchEvent anymore
remove second parameter to doBlock in forEachDir, as it is unused. this simplifies its type signature to a Callback
reindent to 2 spaces
remove unused second argument to forEachDir callback
combine recursive and non-recursive methods with an optional parameter that defaults to false
fix CallbackActorSpec tests
fix CallbackRegistrySpec tests
tidy imports
return value for {add/remove}CallbacksFor is unused, just inline the call to modifyCallbackRegistry in the receive method
fix method names, add tests for modifyCallbackRegistry to replace tests for the removed {add/remove}CallbackFor methods
Add back tests