
## SharArchive class

This class represents a shar archive file.

The SharArchive type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|SharArchive()|Initializes a new instance of the [SharArchive](/zip/python-net/aspose.zip.shar/shararchive/) class.|
|SharArchive(path)|Initializes a new instance of the [SharArchive](/zip/python-net/aspose.zip.shar/shararchive/) class prepared for decompressing.|
## Properties
| Name | Description |
| :- | :- |
|entries|Gets entries of [SharEntry](/zip/python-net/aspose.zip.shar/sharentry/) type constituting the archive.|
## Methods
| Name | Description |
| :- | :- |
|create_entries(source_directory, include_root_directory)|Adds to the archive all the files and directories recursively in the directory given.|
|create_entries(directory, include_root_directory)|Adds to the archive all the files and directories recursively in the directory given.|
|create_entry(name, file_info, open_immediately)|Create a single entry within the archive.|
|create_entry(name, source_path, open_immediately)|Create a single entry within the archive.|
|create_entry(name, source)|Create a single entry within the archive.|
|delete_entry(entry)|Removes the first occurrence of a specific entry from the entry list.|
|delete_entry(entry_index)|  |
|save(destination_file_name)|Saves archive to a destination file provided.|
|save(output)|Saves archive to the stream provided.|

### See Also

* namespace [aspose.zip.shar](/zip/python-net/aspose.zip.shar/)
* assembly [Aspose.Zip](/zip/python-net/)

