MCPcopy Create free account
hub / github.com/Noumena-Network/code / ensureCurrentSessionFile

Method ensureCurrentSessionFile

src/utils/sessionStorage.ts:1353–1359  ·  view source on GitHub ↗

* Loads the sessionFile variable. * Do not need to create session files until they are written to.

()

Source from the content-addressed store, hash-verified

1351 * Do not need to create session files until they are written to.
1352 */
1353 private ensureCurrentSessionFile(): string {
1354 if (this.sessionFile === null) {
1355 this.sessionFile = getTranscriptPath()
1356 }
1357
1358 return this.sessionFile
1359 }
1360
1361 /**
1362 * Returns the session file path if it exists, null otherwise.

Callers 1

Calls 1

getTranscriptPathFunction · 0.85

Tested by

no test coverage detected