@backblaze-labs/b2-sdk - v0.2.0
    Preparing search index...

    Interface SyncCompareEvent

    Per-file comparison progress event.

    interface SyncCompareEvent {
        bytesHashed?: number;
        bytesVerified?: number;
        path: string;
        size: 0;
        type: "compare";
    }
    Index

    Properties

    bytesHashed?: number

    Local file bytes hashed while preparing this comparison, if any.

    bytesVerified?: number

    B2 bytes downloaded and hashed while verifying untrusted SHA-1 metadata, if any.

    path: string

    Relative path of the compared file.

    size: 0

    Reserved for compatibility with earlier metadata-only compare events.

    type: "compare"

    Discriminant tag (always the literal string 'compare').