MCPcopy Index your code
hub / github.com/cameri/nostream / ensureTorDataDir

Function ensureTorDataDir

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

Source from the content-addressed store, hash-verified

25}
26
27export const ensureTorDataDir = (): void => {
28 fs.mkdirSync(getProjectPath('.nostr', 'tor', 'data'), { recursive: true })
29}
30
31export const ensureI2PDataDir = (): void => {
32 fs.mkdirSync(getProjectPath('.nostr', 'i2p', 'data'), { recursive: true })

Callers 1

runStartFunction · 0.90

Calls 1

getProjectPathFunction · 0.90

Tested by

no test coverage detected