MCPcopy Create free account
hub / github.com/experdot/pointer / getAllKeys

Function getAllKeys

src/renderer/src/components/panels/Explorer.tsx:138–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 }
137
138 const getAllKeys = (): string[] => {
139 return [...pages.map((p) => p.id), ...folders.map((f) => f.id)]
140 }
141
142 const allKeys = getAllKeys()
143 const isAllSelected = allKeys.length > 0 && checkedKeys.length === allKeys.length

Callers 8

ExplorerFunction · 0.70
handleSelectAllFunction · 0.70
handleFileUploadFunction · 0.50
handleSelectAllFunction · 0.50
renderTreeFunction · 0.50
ExportModalFunction · 0.50
handleSelectAllFunction · 0.50
renderTreeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected