MCPcopy
hub / github.com/coder/mux / getFilePath

Method getFilePath

src/node/services/sessionUsageService.ts:115–117  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

113 }
114
115 private getFilePath(workspaceId: string): string {
116 return path.join(this.config.getSessionDir(workspaceId), this.SESSION_USAGE_FILE);
117 }
118
119 private createEmptyUsageFile(): SessionUsageFile {
120 return { byModel: {}, version: 1 };

Callers 5

readFileMethod · 0.95
writeFileMethod · 0.95
getSessionUsageMethod · 0.95
getSessionUsageBatchMethod · 0.95
deleteSessionUsageMethod · 0.95

Calls 1

getSessionDirMethod · 0.65

Tested by

no test coverage detected