file-collection
    Preparing search index...

    Interface FileItem

    interface FileItem {
        arrayBuffer: () => Promise<ArrayBufferLike>;
        baseURL?: string;
        lastModified?: number;
        name: string;
        parent?: FileItem;
        relativePath: string;
        size?: number;
        sourceUUID: string;
        stream: () => ReadableStream<Uint8Array<ArrayBufferLike>>;
        text: () => Promise<string>;
    }

    Hierarchy

    • ItemData
      • FileItem
    Index

    Properties

    arrayBuffer: () => Promise<ArrayBufferLike>
    baseURL?: string
    lastModified?: number
    name: string
    parent?: FileItem

    If zip of gz file

    relativePath: string
    size?: number
    sourceUUID: string
    stream: () => ReadableStream<Uint8Array<ArrayBufferLike>>
    text: () => Promise<string>