MCPcopy
hub / github.com/codeaashu/claude-code / getPastePath

Function getPastePath

src/utils/pasteStore.ts:28–30  ·  view source on GitHub ↗

* Get the file path for a paste by its content hash.

(hash: string)

Source from the content-addressed store, hash-verified

26 * Get the file path for a paste by its content hash.
27 */
28function getPastePath(hash: string): string {
29 return join(getPasteStoreDir(), `${hash}.txt`)
30}
31
32/**
33 * Store pasted text content to disk.

Callers 2

storePastedTextFunction · 0.85
retrievePastedTextFunction · 0.85

Calls 1

getPasteStoreDirFunction · 0.85

Tested by

no test coverage detected