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

Method fullPath

backend/stack.ts:159–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 get fullPath() : string {
160 let dir = this.path;
161
162 // Compose up via node-pty
163 let fullPathDir;
164
165 // if dir is relative, make it absolute
166 if (!path.isAbsolute(dir)) {
167 fullPathDir = path.join(process.cwd(), dir);
168 } else {
169 fullPathDir = dir;
170 }
171 return fullPathDir;
172 }
173
174 /**
175 * Save the stack to the disk

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected