1 write to LinkName
System.Formats.Tar (1)
System\Formats\Tar\TarWriter.Unix.cs (1)
94entry.LinkName = info.LinkTarget ?? string.Empty;
5 references to LinkName
System.Formats.Tar (5)
System\Formats\Tar\TarEntry.cs (2)
349string linkName = ArchivingUtils.SanitizeEntryFilePath(LinkName, preserveDriveRoot: true); 364string linkName = ArchivingUtils.SanitizeEntryFilePath(LinkName, preserveDriveRoot: false);
System\Formats\Tar\TarHeader.Write.cs (1)
654throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(TarEntry.LinkName)), ArgNameEntry);
System\Formats\Tar\TarWriter.cs (2)
216/// <exception cref="ArgumentException">The entry type is <see cref="TarEntryType.HardLink"/> or <see cref="TarEntryType.SymbolicLink"/> and the <see cref="TarEntry.LinkName"/> is <see langword="null"/> or empty.</exception> 260/// <exception cref="ArgumentException">The entry type is <see cref="TarEntryType.HardLink"/> or <see cref="TarEntryType.SymbolicLink"/> and the <see cref="TarEntry.LinkName"/> is <see langword="null"/> or empty.</exception>