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

Function getStoragePath

src/utils/secureStorage/plainTextStorage.ts:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26function getStoragePath(): { storageDir: string; storagePath: string } {
27 const storageDir = getCanonicalNcodeConfigHomeDir()
28 const storageFileName = '.credentials.json'
29 return { storageDir, storagePath: join(storageDir, storageFileName) }
30}
31
32export function getPrimaryPlainTextStoragePath(): string {
33 return getStoragePath().storagePath

Callers 3

updateFunction · 0.85
deleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected