Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ WatchNode
Method
WatchNode
Kernel/include/fs/filesystem.h:264–268 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
262
}
263
264
void WatchNode(FsNode* node, int events){
265
node->Watch(*this, events);
266
267
watching.add_back(node);
268
}
269
270
~FilesystemWatcher(){
271
for(auto& node : watching){
Callers
1
SysPoll
Function · 0.80
Calls
2
Watch
Method · 0.45
add_back
Method · 0.45
Tested by
no test coverage detected