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

Method updateStatus

backend/stack.ts:234–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232 }
233
234 async updateStatus() {
235 let statusList = await Stack.getStatusList();
236 let status = statusList.get(this.name);
237
238 if (status) {
239 this._status = status;
240 } else {
241 this._status = UNKNOWN;
242 }
243 }
244
245 /**
246 * Checks if a compose file exists in the specified directory.

Callers 1

updateMethod · 0.95

Calls 2

getStatusListMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected