Skip to content
WordPress Archive Format
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
testdata
.travis.yml Update travis to include goveralls package Jan 4, 2015
README.md Add GoDoc reference badge to README.md Jan 4, 2015
common.go Use filepath lib for multi platform compatibility Feb 12, 2015
reader.go Add Extract function to reader Apr 3, 2015
reader_test.go Add Extract function to reader Apr 3, 2015
writer.go Fixing lint errors in all files Jan 4, 2015
writer_test.go

README.md

Build Status Coverage Status GoDoc

wpress

WordPress archive format

Quick Start

// 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()

License

This project is licensed under the MIT open source license.

You can’t perform that action at this time.