The NoOpFileStorageAdapter will do nothing and is used for easily mocking ISignedFileStorageAdapter for testing.

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

Implements

Constructors

Methods

  • Moves (renames) source file to destination path, overwriting destination if it exists. Returns false if source doesn't exist; destination remains unchanged. Effectively deletes the source file after successful copy.

    Parameters

    Returns Promise<boolean>

    True if source was found and moved, false if source doesn't exist