TarEntry Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the core behavior of a tar entry from an archive.
public ref class TarEntry abstract
public abstract class TarEntry
type TarEntry = class
Public MustInherit Class TarEntry
- Inheritance
-
TarEntry
- Derived
Remarks
All the properties exposed by this class are supported by the V7, Ustar, Pax, and Gnu formats.
Properties
Checksum |
The checksum of all the fields in this entry. The value is non-zero either when the entry is read from an existing archive, or after the entry is written to a new archive. |
DataOffset | |
DataStream |
Gets or sets the data section of this entry. If the EntryType does not support containing data, then returns |
EntryType |
Gets the type of filesystem object represented by this entry. |
Format |
The format of the entry. |
Gid |
Gets or sets the ID of the group that owns the file represented by this entry. |
Length |
When the EntryType indicates an entry that can contain data, gets the length in bytes of such data. |
LinkName |
When the EntryType indicates a SymbolicLink or a HardLink, gets or sets the link target path of the link. |
Mode |
Gets or sets the Unix file permissions of the file represented by this entry. |
ModificationTime |
Gets or sets the last time the contents of the file represented by this entry were modified. |
Name |
Gets or sets the name of the entry, which includes the relative path and the filename. |
Uid |
Gets or sets the ID of the user that owns the file represented by this entry. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
ExtractToFile(String, Boolean) |
Extracts the current file or directory to the filesystem. Symbolic links and hard links are not extracted. |
ExtractToFileAsync(String, Boolean, CancellationToken) |
Asynchronously extracts the current entry to the filesystem. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current entry. |
Applies to
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור