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

Method createDirectory

src/linux/InotifyService.cpp:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void InotifyService::createDirectory(int wd, std::string name) {
98 if (!mTree->nodeExists(wd)) {
99 return;
100 }
101
102 dispatch(CREATED, wd, name);
103 mTree->addDirectory(wd, name, [this](std::string directory, std::string file) {
104 mQueue->enqueue(CREATED, directory, file);
105 });
106}
107
108void InotifyService::removeDirectory(int wd) {
109 mTree->removeDirectory(wd);

Callers 1

workMethod · 0.80

Calls 3

nodeExistsMethod · 0.80
addDirectoryMethod · 0.80
enqueueMethod · 0.80

Tested by

no test coverage detected