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

Method existWatchedPath

src/linux/InotifyTree.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool InotifyTree::existWatchedPath() {
52 struct stat file;
53 return stat(mWatchedPath.c_str(), &file) >= 0;
54}
55
56void InotifyTree::addDirectory(int wd, std::string name, EmitCreatedEvent emitCreatedEvent) {
57 auto nodeIterator = mInotifyNodeByWatchDescriptor->find(wd);

Callers

nothing calls this directly

Calls 1

statClass · 0.70

Tested by

no test coverage detected