WordPress archive format
// create new archive and add a file to it
archiver, _ := NewWriter("test.wpress")
archiver.AddFile("file-to-add.txt")
archiver.Close()
// create a new archive and add a directory to it
archiver, _ := NewWriter("test.wpress")
archiver.AddDirectory("/path/to/directory/to/add")
archiver.Close()
This project is licensed under the MIT open source license.