Skip to content

IPrecompressDeps

The I/O precompressDir and checkPrecompressed need, over paths under dir with / separators.

readonly listFiles: (dir) => readonly string[]

Every file under dir, at any depth.

string

readonly string[]


readonly readFile: (dir, file) => Buffer

string

string

Buffer


readonly removeFile: (dir, file) => void

string

string

void


readonly writeFile: (dir, file, body) => void

string

string

Buffer

void