fs-zoo
Version:
File system abstractions and implementations
6 lines (5 loc) • 402 B
TypeScript
export declare const parseParts: (path: string) => string[];
export declare const parseId: (path: string) => [collection: string[], id: string];
export declare const assertName: (name: string, method: string, klass: string) => void;
export declare const assertType: (type: string[], method: string, klass: string) => void;
export declare const tryUtf8Decode: (data: Uint8Array) => string | Uint8Array;