Edit

Share via


PaxTarEntry.ExtendedAttributes Property

Definition

Returns the extended attributes for this entry.

public:
 property System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ ExtendedAttributes { System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.IReadOnlyDictionary<string,string> ExtendedAttributes { get; }
member this.ExtendedAttributes : System.Collections.Generic.IReadOnlyDictionary<string, string>
Public ReadOnly Property ExtendedAttributes As IReadOnlyDictionary(Of String, String)

Property Value

Remarks

The extended attributes are specified when constructing an entry. Use PaxTarEntry(TarEntryType, String, IEnumerable<KeyValuePair<String,String>>) to append your own enumeration of extended attributes to the current entry on top of the default ones. Use PaxTarEntry(TarEntryType, String) to only use the default extended attributes.

The following entries are always found in the extended attributes dictionary of any PAX entry:

  • Modification time, under the name mtime, as a Double number.
  • Access time, under the name atime, as a Double number.
  • Change time, under the name ctime, as a Double number.
  • Path, under the name path, as a string.

The following entries are only found in the extended attributes dictionary of a PAX entry if certain conditions are met:

  • Group name, under the name gname, as a string, if it is larger than 32 bytes.
  • User name, under the name uname, as a string, if it is larger than 32 bytes.
  • File length, under the name size, as an Int32, if the string representation of the number is larger than 12 bytes.

Applies to