MCPcopy Create free account
hub / github.com/experdot/pointer / resolveAttachmentPath

Function resolveAttachmentPath

src/main/attachmentStorage.ts:32–35  ·  view source on GitHub ↗
(localPath: string)

Source from the content-addressed store, hash-verified

30}
31
32async function resolveAttachmentPath(localPath: string): Promise<string> {
33 const attachmentsRoot = await ensureAttachmentsRoot()
34 return resolveRelativePathWithinRoot(attachmentsRoot, localPath)
35}
36
37function buildStoredRelativePath(
38 fileId: string,

Callers 5

saveAttachmentFileFunction · 0.85
readAttachmentFileFunction · 0.85
deleteAttachmentFileFunction · 0.85
moveAttachmentFileFunction · 0.85

Calls 2

ensureAttachmentsRootFunction · 0.85

Tested by

no test coverage detected