MCPcopy
hub / github.com/dotenvx/dotenvx / openStore

Method openStore

src/db/session.js:90–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 }
89
90 openStore () {
91 if (!this._store && !this._configExists()) {
92 return null
93 }
94
95 if (!this._store) this._store = this._newStore()
96 return this._store
97 }
98
99 get store () {
100 return this.openStore()

Callers 5

storeMethod · 0.95
readSettingMethod · 0.95
readDotenvxSettingMethod · 0.95
notifyUpdateMethod · 0.95
logoutMethod · 0.95

Calls 2

_configExistsMethod · 0.95
_newStoreMethod · 0.95

Tested by

no test coverage detected