MCPcopy
hub / github.com/upstash/context7 / getUpdateStateFilePath

Function getUpdateStateFilePath

packages/cli/src/utils/storage-paths.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export function getUpdateStateFilePath(): string {
39 return path.join(getStateDir(), UPDATE_STATE_FILE_NAME);
40}
41
42export function getPreviewsDir(): string {
43 return path.join(getCacheDir(), PREVIEWS_DIR_NAME);

Callers 3

getStateFilePathFunction · 0.85
readStateFilePathFunction · 0.85

Calls 1

getStateDirFunction · 0.85

Tested by

no test coverage detected