Skip to content

createLocalStorage

createLocalStorage(dataDir): StorageAdapter

Defined in: index.ts:17

Create a local filesystem-backed StorageAdapter rooted at the given directory.

string

Root directory in which all stored files live.

StorageAdapter

A StorageAdapter that reads and writes files under dataDir.