UNPKG

@kobold/core

Version:

Kobold core

19 lines (18 loc) 498 B
/// <reference types="node" /> import { Path } from './path'; export declare class Category { private readonly categoryId; private readonly repositoryPath; private indexCache; constructor(opts: { categoryId: number; repositoryPath: string; }); private get idPrefix(); private buildIndexes; private fixHashData; private getIndexes; private getFileEntry; getFile(pathInfo: Path): Promise<Buffer>; private readBlock; }