MCPcopy Create free account
hub / github.com/google-gemini/gemini-cli / getPath

Method getPath

packages/cli/src/utils/persistentState.ts:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 private filePath: string | null = null;
26
27 private getPath(): string {
28 if (!this.filePath) {
29 this.filePath = path.join(Storage.getGlobalGeminiDir(), STATE_FILENAME);
30 }
31 return this.filePath;
32 }
33
34 private load(): PersistentStateData {
35 if (this.cache) {

Callers 2

loadMethod · 0.95
saveMethod · 0.95

Calls 1

getGlobalGeminiDirMethod · 0.80

Tested by

no test coverage detected