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

Method getSettingsFileBasePath

src/utils/settings.ts:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 static _settings: Settings | undefined
19
20 public static getSettingsFileBasePath(): string {
21 return process.env.NOSTR_CONFIG_DIR ?? join(process.cwd(), '.nostr')
22 }
23
24 public static getDefaultSettingsFilePath(): string {
25 return join(process.cwd(), 'resources', 'default-settings.yaml')

Callers 3

settings.spec.tsFile · 0.80
createSettingsMethod · 0.80
watchSettingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected