Add LICENSE, CHANGES, MAINTAINERS

This is from the original Citrix source.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Rename ocamlfind package to 'tar'; release 0.1.1

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add .gitignore

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add 'make test'

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add travis

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
test: check basic header parsing/printing

This test currently fails (!)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Fix travis

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
test: check the padding length

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: marshal the link_indicator and link_name correctly

This fixes the unit test.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add some OASIS autogen stuff

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: start using cstruct internally to replace some string manipulation

The interface hasn't been changed yet.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: replace ad-hoc split functions with Re_str.split

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: remove overload of standard library String module

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Fix travis

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: add a function ;allzeroes' to check for zero Cstruct.ts

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: move the Unix I/O into Tar_unix

We'll add Tar_lwt soon.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: main API now exposes Cstruct.t rather than strings

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #1 from djs55/cstruct

Main API now uses cstruct
unix: tidy up API, add unit test for Archive.list

* Remove extraneous functions from the interface (eg write_string)
* Remove the functions to 'multicast' writes to multiple file
  descriptors -- this was only used by XenServer to pipe data to
  sha1sum, which should be done in process on buffers using the
  sha1 package
* list returns Headers rather than 'tar -t' style strings

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
unix: switch to Unix.LargeFile.stat to handle big files

Signed-off-by: David Scott <dave.scott@eu.citrix.com>