MCPcopy Index your code
hub / github.com/codeaashu/claude-code / createEmptyGroup

Function createEmptyGroup

src/utils/collapseReadSearch.ts:625–659  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

623}
624
625function createEmptyGroup(): GroupAccumulator {
626 const group: GroupAccumulator = {
627 messages: [],
628 searchCount: 0,
629 readFilePaths: new Set(),
630 readOperationCount: 0,
631 listCount: 0,
632 toolUseIds: new Set(),
633 memorySearchCount: 0,
634 memoryReadFilePaths: new Set(),
635 memoryWriteCount: 0,
636 nonMemSearchArgs: [],
637 latestDisplayHint: undefined,
638 hookTotalMs: 0,
639 hookCount: 0,
640 hookInfos: [],
641 }
642 if (feature('TEAMMEM')) {
643 group.teamMemorySearchCount = 0
644 group.teamMemoryReadFilePaths = new Set()
645 group.teamMemoryWriteCount = 0
646 }
647 group.mcpCallCount = 0
648 group.mcpServerNames = new Set()
649 if (isFullscreenEnvEnabled()) {
650 group.bashCount = 0
651 group.bashCommands = new Map()
652 group.commits = []
653 group.pushes = []
654 group.branches = []
655 group.prs = []
656 group.gitOpBashCount = 0
657 }
658 return group
659}
660
661function createCollapsedGroup(
662 group: GroupAccumulator,

Callers 2

collapseReadSearchGroupsFunction · 0.85
flushGroupFunction · 0.85

Calls 2

featureFunction · 0.85
isFullscreenEnvEnabledFunction · 0.85

Tested by

no test coverage detected