ArchiveWriter.addFileFrom

void addFileFrom(string archivePath, string filesystemPath, EntryWriteOptions opts = EntryWriteOptions.init)

Add a file entry from the filesystem.

Parameters

archivePathPath within the archive.
filesystemPathPath to the file on disk.
optsPer-entry write options.