MCPcopy Create free account
hub / github.com/3dugc/3D-Model-Optimizer / getUploadedFilePath

Method getUploadedFilePath

src/utils/storage.ts:204–206  ·  view source on GitHub ↗

* Gets the path to an uploaded file * * @param taskId - The task identifier * @returns The full path to the uploaded file

(taskId: string)

Source from the content-addressed store, hash-verified

202 * @returns The full path to the uploaded file
203 */
204 getUploadedFilePath(taskId: string): string {
205 return path.join(this.uploadsPath, `${taskId}.glb`);
206 }
207
208 /**
209 * Gets the path to a result file

Callers 6

saveUploadedFileMethod · 0.95
getUploadedFileMethod · 0.95
uploadedFileExistsMethod · 0.95
deleteTaskFilesMethod · 0.95
storage.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected