IMPORT_PATH: "@daiso-tech/core/file-storage/aws-file-storage-adapter"

Implements

Constructors

Methods

  • The copyAndReplace methods copies the source file to the given destination. The destination file will always be replaces. Returns true if the source is found otherwise false is returned.

    Parameters

    • source: string
    • destination: string

    Returns Promise<boolean>

  • The moveAndReplace methods moves the source file to the given destination. The destination file will always be replaces. Returns true if the source is found otherwise false is returned.

    Parameters

    • source: string
    • destination: string

    Returns Promise<boolean>