MCPcopy Create free account
hub / github.com/cc20110101/RedisView / setRootItem

Method setRootItem

src/RedisView/Model/KeyTreeModel.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void KeyTreeModel::setRootItem(KeyTreeItem * item) {
30 beginResetModel();
31 if(rootItem)
32 delete rootItem;
33 rootItem = item;
34 endResetModel();
35}
36
37void KeyTreeModel::clear() {
38 beginResetModel();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected