TarEntry Methods

The methods of the TarEntry class are listed below. For a complete list of TarEntry class members, see the TarEntry Members topic.

Public Static (Shared) Methods

CreateEntryFromFile Construct an entry for a file. File is set to file, and the header is constructed from information from the file.
CreateTarEntry Construct an entry with only a name. This allows the programmer to construct the entry's header "by hand". File is set to null.

Public Instance Methods

AdjustEntryName Convenience method that will modify an entry's name directly in place in an entry header buffer byte array.
ComputeCheckSum Compute the checksum of a tar entry header.
Equals Determine if the two entries are equal. Equality is determined by the header names being equal.
GetDirectoryEntries If this entry represents a file, and the file is a directory, return an array of TarEntries for this entry's children.
GetFileTarHeader Fill in a TarHeader with information from a File.
GetHashCode Must be overridden when you override Equals.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
IsDescendent Determine if the given entry is a descendant of this entry. Descendancy is determined by the name of the descendant starting with this entry's name.
NameTarHeader Fill in a TarHeader given only the entry's name.
ParseTarHeader Parse an entry's TarHeader information from a header buffer.
SetIds Convenience method to set this entry's group and user ids.
SetNames Convenience method to set this entry's group and user names.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.
WriteEntryHeader Write an entry's header information to a header buffer.

Protected Instance Methods

Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.

See Also

TarEntry Class | ICSharpCode.SharpZipLib.Tar Namespace