MCPcopy Create free account
hub / github.com/Axosoft/nsfw / dispatch

Method dispatch

src/linux/InotifyService.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void InotifyService::dispatch(EventType action, int wd, std::string name) {
44 std::string path;
45 if (!mTree->getPath(path, wd)) {
46 return;
47 }
48
49 mQueue->enqueue(action, path, name);
50}
51
52void InotifyService::dispatchRename(int fromWd, std::string fromName, int toWd, std::string toName) {
53 std::string fromPath, toPath;

Callers

nothing calls this directly

Calls 2

getPathMethod · 0.80
enqueueMethod · 0.80

Tested by

no test coverage detected