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

Function ensureImageStoreDir

source code/utils/imageStore.ts:27–30  ·  view source on GitHub ↗

* Ensure the image store directory exists.

()

Source from the content-addressed store, hash-verified

25 * Ensure the image store directory exists.
26 */
27async function ensureImageStoreDir(): Promise<void> {
28 const dir = getImageStoreDir()
29 await mkdir(dir, { recursive: true })
30}
31
32/**
33 * Get the file path for an image by ID.

Callers 1

storeImageFunction · 0.85

Calls 2

getImageStoreDirFunction · 0.85
mkdirFunction · 0.85

Tested by

no test coverage detected