Pusher interface

interface Pusher {
    push(filePath: string, key: string): Promise<void>;
}

Hierarchy (View Summary)

Methods

Methods

  • Push the file to the storage

    Parameters

    • filePath: string

      The file path to push

    • key: string

      The key to use

    Returns Promise<void>