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

    Function parseSyncContentSha1

    • Parses the public SyncPath.contentSha1 value into an explicit trust/availability state.

      Parameters

      • sha1: string | null | undefined

        The raw contentSha1 field from a sync path.

      Returns SyncSha1State

      A discriminated state so custom scanners do not need to decode sentinels directly.