Options
All
  • Public
  • Public/Protected
  • All
Menu

Module check

Index

Functions

Const bucketExists

  • bucketExists(bucket: string): Promise<boolean>
  • Check if bucket exists

    Parameters

    • bucket: string

      Bucket name where the object is stored

    Returns Promise<boolean>

    • true if the bucket exists, otherwise false

Const objectExists

  • objectExists(bucket: string, key: string): Promise<boolean>
  • Check if an object exists for a given bucket and key

    Parameters

    • bucket: string

      Bucket name where the object is stored

    • key: string

      Full key for the object

    Returns Promise<boolean>

    • true if the object exists, otherwise false

Generated using TypeDoc