MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / setSortScopeCandidatePaths

Method setSortScopeCandidatePaths

src/bases/TaskListView.ts:623–628  ·  view source on GitHub ↗
(entries: Iterable<[string | null, string[]]>)

Source from the content-addressed store, hash-verified

621 }
622
623 private setSortScopeCandidatePaths(entries: Iterable<[string | null, string[]]>): void {
624 this.sortScopeCandidateTaskPaths.clear();
625 for (const [groupKey, paths] of entries) {
626 this.sortScopeCandidateTaskPaths.set(this.getSortScopeKey(groupKey), [...paths]);
627 }
628 }
629
630 private getVirtualItemTask(item: TaskListVirtualItem): TaskInfo | null {
631 if ("type" in item) {

Callers 3

renderFlatMethod · 0.95
renderGroupedMethod · 0.95

Calls 3

getSortScopeKeyMethod · 0.95
setMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected