11 writes to _linkName
System.Formats.Tar (11)
System\Formats\Tar\TarEntry.cs (1)
134_header._linkName = value;
System\Formats\Tar\TarHeader.cs (1)
111_linkName = other._linkName;
System\Formats\Tar\TarHeader.Read.cs (3)
120_linkName = paxEaLinkName; 396_linkName = TarHelpers.GetTrimmedUtf8String(buffer.Slice(FieldLocations.LinkName, FieldLengths.LinkName)) 686_linkName = longPath;
System\Formats\Tar\TarReader.cs (6)
507thirdHeader._linkName = header._linkName; 515thirdHeader._linkName = secondHeader._linkName; 526secondHeader._linkName = header._linkName; 583thirdHeader._linkName = header._linkName; 591thirdHeader._linkName = secondHeader._linkName; 602secondHeader._linkName = header._linkName;
27 references to _linkName
System.Formats.Tar (27)
System\Formats\Tar\TarEntry.cs (1)
126get => _header._linkName ?? string.Empty;
System\Formats\Tar\TarHeader.cs (1)
111_linkName = other._linkName;
System\Formats\Tar\TarHeader.Write.cs (11)
365if (_linkName != null && Encoding.UTF8.GetByteCount(_linkName) > FieldLengths.LinkName) 367TarHeader longLinkHeader = GetGnuLongMetadataHeader(TarEntryType.LongLink, _linkName); 401if (_linkName != null && Encoding.UTF8.GetByteCount(_linkName) > FieldLengths.LinkName) 403TarHeader longLinkHeader = GetGnuLongMetadataHeader(TarEntryType.LongLink, _linkName); 613Debug.Assert(!string.IsNullOrEmpty(_linkName) ^ (_typeFlag is not TarEntryType.SymbolicLink and not TarEntryType.HardLink)); 643if (!string.IsNullOrEmpty(_linkName)) 645ReadOnlySpan<char> linkName = _linkName; 916if (!string.IsNullOrEmpty(_linkName)) 919ExtendedAttributes[PaxEaLinkName] = _linkName;
System\Formats\Tar\TarReader.cs (12)
504Debug.Assert(header._linkName != null); 507thirdHeader._linkName = header._linkName; 513Debug.Assert(secondHeader._linkName != null); 515thirdHeader._linkName = secondHeader._linkName; 525Debug.Assert(header._linkName != null); 526secondHeader._linkName = header._linkName; 580Debug.Assert(header._linkName != null); 583thirdHeader._linkName = header._linkName; 589Debug.Assert(secondHeader._linkName != null); 591thirdHeader._linkName = secondHeader._linkName; 601Debug.Assert(header._linkName != null); 602secondHeader._linkName = header._linkName;
System\Formats\Tar\TarWriter.cs (2)
224ValidateEntryLinkName(entry._header._typeFlag, entry._header._linkName); 273ValidateEntryLinkName(entry._header._typeFlag, entry._header._linkName);