IGUHealth
    Preparing search index...
    Index

    Properties

    diskStorage: (options: DiskStorageOptions) => StorageEngine

    Type declaration

      • (options: DiskStorageOptions): StorageEngine
      • Returns a StorageEngine implementation configured to store files on the local file system.

        A string or function may be specified to determine the destination directory, and a function to determine filenames. If no options are set, files will be stored in the system's temporary directory with random 32 character filenames.

        Parameters

        • options: DiskStorageOptions

        Returns StorageEngine

    memoryStorage: () => StorageEngine

    Type declaration

      • (): StorageEngine
      • Returns a StorageEngine implementation configured to store files in memory as Buffer objects.

        Returns StorageEngine