MCPcopy
hub / github.com/dotenvx/dotenvx / readSetting

Method readSetting

src/db/session.js:115–120  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

113 // Get
114 //
115 readSetting (key) {
116 const store = this.openStore()
117 if (!store) return undefined
118
119 return store.get(ARMOR[key])
120 }
121
122 readDotenvxSetting (key) {
123 const store = this.openStore()

Callers 3

hostnameMethod · 0.95
usernameMethod · 0.95
tokenMethod · 0.95

Calls 2

openStoreMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected