MCPcopy Create free account
hub / github.com/github/copilot-sdk / loadStoredData

Method loadStoredData

test/harness/replayingCapiProxy.ts:130–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 }
129
130 private async loadStoredData(): Promise<void> {
131 if (this.state && existsSync(this.state.filePath)) {
132 const content = await readFile(this.state.filePath, "utf-8");
133 this.state.storedData = yaml.parse(content) as NormalizedData;
134 normalizeToolResultOrder(this.state.storedData.conversations);
135 normalizeStoredUserMessages(this.state.storedData.conversations);
136 }
137 }
138
139 async stop(skipWritingCache?: boolean): Promise<void> {
140 await super.stop();

Callers 2

startMethod · 0.95
updateConfigMethod · 0.95

Calls 4

normalizeToolResultOrderFunction · 0.85
parseMethod · 0.80
readFileFunction · 0.50

Tested by

no test coverage detected