Skip to content

BeechCMS


BeechCMS / @beechcms/core / NoopAntivirusProvider

Class: NoopAntivirusProvider ​

Implements ​

Constructors ​

Constructor ​

new NoopAntivirusProvider(): NoopAntivirusProvider

Returns ​

NoopAntivirusProvider

Properties ​

name ​

readonly name: "noop" = 'noop'

Implementation of ​

IAntivirusProvider.name

Methods ​

scan() ​

scan(_fileBuffer, _filename): Promise<AntivirusScanResult>

Parameters ​

_fileBuffer ​

ArrayBuffer | Uint8Array<ArrayBufferLike>

_filename ​

string

Returns ​

Promise<AntivirusScanResult>

Implementation of ​

IAntivirusProvider.scan