概述

本地文件系统的 MacoolkaStore 实例


目录


buildStore (函数)

从一个根路径建立 MonadFileStore

签名


export const buildStore = (root: string): MonadFileStore & { root: string } => ...

示例

import * as path from 'path'
import buildStore from 'macoolka-store-local'
const store = buildStore(path.join(__dirname, 'fixtures', 'tests'))

v0.2.0 中添加

showFile (导出)

签名


Show<Partial<FileWhereUniqueInput>>

v0.2.0 中添加