Constructor for archives which initializes the archive with the contents of the serialized archive stored in data.
Constructor for read/write archives which does not require serialized data to create.
Alias to allow for easy referencing the proper archive Directory member type for Policy.
Alias to allow for easy referencing the proper archive File member type for Policy.
(Optional) Alias to allow for easy referencing the proper archive Properties type for Policy. e.g. Tar archives do not have any archive-wide properties, while zip files have an archive comment.
Adds a directory to the archive. If the path to the directory contains directories that are not in the archive, they are added. If the directory already exists it is not replaced with an empty directory.
Adds a file to the archive. If the path to the file contains directories that are not in the archive, they are added.
Removes a directory (and all contained files and directories) from the archive.
Removes all directories in the archive with no direct files or files in subdirectories.
Removes a file from the archive.
Serializes the archive.
Provides access to all directories in the archive via a delegate method. This allows use in foreach loops.
Provides access to all files in the archive via a delegate method. This allows use in foreach loops.
Provides access to all files and directories in the archive via a delegate method. This allows use in foreach loops.
(Optional) Archive-wide properties for the format associated with Policy. e.g. Tar archives do not have any archive-wide properties, while zip files have an archive comment.
The root directory of the archive. Public here to allow for manual recursive algorithms.
The common template for all archives. Each archive format is implemented as a Policy class which supplies necessary types and methods specific to that format. Reference this class to find the methods available to all archives, but use the docs for your specific format to find methods/members available for your specific format.