Creates a ArchiveFormat archive from a specified directory.
This function uses the archiver library to package a directory into an archive file.
It supports optional compression for zip and returns a Promise that resolves
when the archive is successfully created.
Creates a ArchiveFormat archive from a specified directory.
This function uses the
archiver
library to package a directory into an archive file. It supports optional compression forzip
and returns a Promise that resolves when the archive is successfully created.