MCPcopy Create free account
hub / github.com/Epic0522/Codex-Remote-Contact / resolveAttachmentPath

Function resolveAttachmentPath

src/server.js:3080–3085  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

3078}
3079
3080function resolveAttachmentPath(filename) {
3081 const raw = String(filename || "");
3082 if (!raw) return "";
3083 if (raw.startsWith("~/")) return join(process.env.HOME, raw.slice(2));
3084 return raw;
3085}
3086
3087async function prepareIMessageModelImage(filePath) {
3088 const sourcePath = String(filePath || "").trim();

Callers 1

getIMessageAttachmentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected