Skip to content

v2.1.0

Compare
Choose a tag to compare
@ewilan-riviere ewilan-riviere released this 28 Aug 16:25
· 93 commits to main since this release
04b2fba

Rework Archive::make()

  • addFile() takes two parameters now: the outputPath inside archive and pathToFile on disk
  • addFiles() is removed
  • addDirectory() takes two parameters now: relativeTo path inside archive and the path of directory on the disk
    • If the path is /path/to/dir and relativeTo is ./dir, the directory will be added to archive as dir/
  • addDirectories() is removed