MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getPastePath

Function getPastePath

source code/utils/pasteStore.ts:30–32  ·  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

28 * Get the file path for a paste by its content hash.
29 */
30function getPastePath(hash: string): string {
31 return join(getPasteStoreDir(), `${hash}.txt`)
32}
33
34/**
35 * 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