MCPcopy
hub / github.com/louislam/dockge / composeENV

Method composeENV

backend/stack.ts:144–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 }
143
144 get composeENV() : string {
145 if (this._composeENV === undefined) {
146 try {
147 this._composeENV = fs.readFileSync(path.join(this.path, ".env"), "utf-8");
148 } catch (e) {
149 this._composeENV = "";
150 }
151 }
152 return this._composeENV;
153 }
154
155 get path() : string {
156 return path.join(this.server.stacksDir, this.name);

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected