# Functions
Copy is taken from http://ixday.github.io/post/golang-cancel-copy/, slightly modified function signature: - context has been added in order to propagate cancelation - I do not return the number of bytes written, has it is not useful in my use case.
NewTarArchiver will setup the tar archiver.
# Constants
ArchiverTypeTar uses the tar archiving format.
# Variables
ErrDatasetTooLarge is returned when the dataset size is above the sizelimit set in the dataset.
ErrEmptyDirectory is returned when the archiver expected the directory to not be empty.
ErrNoSuchDirectory is returned when an archiver expected a directory to exist.
ErrNotADirectory is returned when an archiver was asked to upload a single file without dir.
SizeLimit is the maximum size allowed@TODO: Should be based on customer details?.
TarArchiverKey configures the one object key returned by the tar Archiver.
TarArchiverPathSeparator standardizes the header path for cross platform (un)archiving.
# Structs
ArchiverOptions contain options for all stores.
TarArchiver will archive a directory into a single tar file.
# Interfaces
Reporter describes how an archiver reports.
# Type aliases
ArchiverType determines what type the object store will be.