MCPcopy Create free account
hub / github.com/cameri/nostream / ensureI2PDataDir

Function ensureI2PDataDir

src/cli/utils/bootstrap.ts:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31export const ensureI2PDataDir = (): void => {
32 fs.mkdirSync(getProjectPath('.nostr', 'i2p', 'data'), { recursive: true })
33}
34
35export const getTorHostnamePath = (): string => getProjectPath('.nostr', 'tor', 'data', 'nostream', 'hostname')
36

Callers 1

runStartFunction · 0.90

Calls 1

getProjectPathFunction · 0.90

Tested by

no test coverage detected