MCPcopy
hub / github.com/7836246/cursor2api / getPersistMode

Function getPersistMode

src/logger.ts:175–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173}
174
175function getPersistMode(): 'compact' | 'full' | 'summary' {
176 const mode = getConfig().logging?.persist_mode;
177 return mode === 'full' || mode === 'summary' || mode === 'compact' ? mode : DEFAULT_PERSIST_MODE;
178}
179
180function getLogFilePath(): string | null {
181 const dir = getLogDir();

Callers 1

persistRequestFunction · 0.85

Calls 1

getConfigFunction · 0.90

Tested by

no test coverage detected