void (String path, WatcherOp op) { String root = myVm.prefix + path.replace('/', '\\'); if (op == WatcherOp.STATS || op == WatcherOp.CHANGE) { myNotificationSink.notifyDirtyPath(root); } else if (op == WatcherOp.CREATE || op == WatcherOp.DELETE) { myNotificationSink.notifyPathCreatedOrDeleted(root); } else { myVm.logger.error("unexpected op: " + op); } }