Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KangLin/RabbitRemoteControl
/ foreach
Function
foreach
Src/Database/DatabaseTree.cpp:297–301 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
295
// 删除子目录
296
auto folders = GetSubNodes(id);
297
foreach(auto f, folders) {
298
bRet = DeleteNode(f.GetId(), cbDeleteLeaf, checkReturn);
299
if(checkReturn && !bRet)
300
return false;
301
}
302
303
// 删除其下面的所有条目
304
if(cbDeleteLeaf) {
Callers
nothing calls this directly
Calls
2
GetKey
Method · 0.80
GetId
Method · 0.45
Tested by
no test coverage detected