func (*trieIndex).statNodes is unused
1156
1157// statNodes returns the how many files/dirs a dir node has (doesn't go over dir
1158// boundary)
1159func (ti *trieIndex) statNodes() map[*trieNode]int {1160 var stats = map[*trieNode]int{}
1161 var depth = ti.getDepth() + trieDepthBuffer
1162 var nindex = make([]int, depth)
Description
It is recommended to keep the codebase clean by removing unused code.
This part of the code has not been used anywhere in the project and is not exported. Maybe it was mistakenly left behind while refactoring or was intended to be used somewhere but remained unused by mistake.