MCPcopy Index your code
hub / github.com/acode/cli / constructor

Method constructor

cli/config.js:11–15  ·  view source on GitHub ↗
(pathname, filename)

Source from the content-addressed store, hash-verified

9class Config {
10
11 constructor (pathname, filename) {
12 this.pathname = pathname || DEFAULT_PATHNAME;
13 this.filename = filename || DEFAULT_FILENAME;
14 this.data = this.load();
15 }
16
17 fullpath () {
18 return path.join(this.pathname, this.filename);

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected