videosphere
    Preparing search index...
    • Returns whether an R2 object exists, using cache to dedupe HEAD calls within one request.

      Parameters

      • key: string

        R2 object key.

      • cache: Map<string, boolean>

        Mutable map populated as keys are checked.

      Returns Promise<boolean>

      true when the object exists, false when it is missing.