MCPcopy Create free account
hub / github.com/crownengine/crown / notify_add_tree

Function notify_add_tree

src/resource/data_compiler.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100static void notify_add_tree(const char *path)
101{
102 TempAllocator512 ta;
103 StringStream ss(ta);
104 ss << "{\"type\":\"add_tree\",\"path\":\"" << path << "\"}";
105 console_server()->broadcast(string_stream::c_str(ss));
106}
107
108static void notify_remove_tree(const char *path)
109{

Callers 2

scan_directoryMethod · 0.85
add_treeMethod · 0.85

Calls 2

console_serverFunction · 0.85
broadcastMethod · 0.80

Tested by

no test coverage detected