MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / collectKittyImageIds

Method collectKittyImageIds

packages/pi-tui/src/tui.ts:1116–1124  ·  view source on GitHub ↗
(lines: string[])

Source from the content-addressed store, hash-verified

1114 }
1115
1116 private collectKittyImageIds(lines: string[]): Set<number> {
1117 const ids = new Set<number>();
1118 for (const line of lines) {
1119 for (const id of extractKittyImageIds(line)) {
1120 ids.add(id);
1121 }
1122 }
1123 return ids;
1124 }
1125
1126 private deleteKittyImages(ids: Iterable<number>): string {
1127 let buffer = "";

Callers 3

fullRenderMethod · 0.95
repaintViewportMethod · 0.95
doRenderMethod · 0.95

Calls 2

extractKittyImageIdsFunction · 0.85
addMethod · 0.65

Tested by

no test coverage detected