MCPcopy
hub / github.com/zgsm-ai/costrict / entries

Method entries

packages/vscode-shim/src/classes/TextEdit.ts:203–208  ·  view source on GitHub ↗

* Get all URI and edits pairs * * @returns Array of [URI, TextEdit[]] pairs

()

Source from the content-addressed store, hash-verified

201 * @returns Array of [URI, TextEdit[]] pairs
202 */
203 entries(): [{ toString(): string; fsPath: string }, TextEdit[]][] {
204 return Array.from(this._edits.entries()).map(([uriString, edits]) => {
205 // Parse the URI string back to a URI-like object
206 return [{ toString: () => uriString, fsPath: uriString.replace(/^file:\/\//, "") }, edits]
207 })
208 }
209}

Callers 15

getEventPropertiesFunction · 0.80
getEventPropertiesFunction · 0.80
createInstanceMethod · 0.80
runEsbuildFunction · 0.80
loadFromDirectoryMethod · 0.80
setRuntimeConfigValuesFunction · 0.80
applyEditMethod · 0.80
TextEdit.test.tsFile · 0.80
mergeToolUsageFunction · 0.80
finishRunFunction · 0.80
onDisconnectMethod · 0.80
ChartStyleFunction · 0.80

Calls 2

fromMethod · 0.80
replaceMethod · 0.65

Tested by 2

executeEditFileToolFunction · 0.64
executeSearchReplaceToolFunction · 0.64