MCPcopy Create free account
hub / github.com/Murmele/Gittyup / node

Method node

src/ui/DiffTreeModel.cpp:420–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420Node *DiffTreeModel::node(const QModelIndex &index) const {
421 return index.isValid() ? static_cast<Node *>(index.internalPointer()) : mRoot;
422}
423
424QVariant DiffTreeModel::getDisplayRole(const QModelIndex &index) const {
425 Node *node = this->node(index);

Callers 4

dataMethod · 0.95
discardMethod · 0.95
setDataMethod · 0.95
getDisplayRoleMethod · 0.95

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected