brows3r — TypeScript API
    Preparing search index...

    Interface ObjectEntry

    A single entry returned by object listing commands.

    Both real objects and virtual-folder prefixes (CommonPrefixes) are represented by this type. isPrefix = true marks virtual folders so the frontend handles one flat array instead of two separate lists.

    Mirrors src-tauri/src/s3/list.rs ObjectEntry.

    interface ObjectEntry {
        etag?: string;
        isPrefix: boolean;
        key: string;
        lastModified?: number;
        size: number;
        storageClass?: string;
    }
    Index

    Properties

    etag?: string

    S3 ETag string (usually an MD5 hex or multipart hash). Absent for prefix entries and objects where S3 did not return an ETag.

    isPrefix: boolean

    true when this entry represents a CommonPrefixes virtual folder.

    key: string

    Full S3 key for objects; the common-prefix string for virtual folders.

    lastModified?: number

    Last-modified Unix timestamp in milliseconds. Absent for virtual-folder prefix entries.

    size: number

    Object size in bytes. Always 0 for virtual-folder prefix entries.

    storageClass?: string

    S3 storage class (STANDARD, GLACIER, …). Absent for virtual-folder prefix entries.