Make archiver into its own class
author Chris Han
()
committer Chris Han
()
commit a429564f665425b6d6dd3ae6020bd8eec3dfb800
tree 8e35854444d89361321f24056851deb4704e1b1b
parent e12c41b8c2e368ba837792a5d8428a8489eba4d3
Make archiver into its own class

This moves all archiver functions into a class to wrap around a commit.
This makes it a lot easier to share code, so we don't have to repeatedly
test everywhere if the gzip and bzip2 functions exist, and the
controller doesn't have to worry about things like compressing data.
Plus it gives a central place to add additional archiving related
functions.
include/controller/Controller_Snapshot.class.php
include/git/Archive.class.php [ new file with mode 0644 ]
include/git/Commit.class.php
index.php
comments