2 writes to LinkName
System.Formats.Tar (2)
System\Formats\Tar\TarWriter.Unix.cs (2)
119
entry.
LinkName
= info.LinkTarget ?? string.Empty;
125
entry.
LinkName
= hardLinkTarget;
15 references to LinkName
aspire (8)
Bundles\BundleService.cs (4)
289
if (string.IsNullOrEmpty(entry.
LinkName
))
294
var linkTarget = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(fullPath)!, entry.
LinkName
));
298
throw new InvalidOperationException($"Symlink '{entry.Name}' targets '{entry.
LinkName
}' which resolves outside the destination directory.");
309
File.CreateSymbolicLink(fullPath, entry.
LinkName
);
Utils\ArchiveHelper.cs (4)
117
if (string.IsNullOrEmpty(entry.
LinkName
))
122
var linkTarget = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(fullPath)!, entry.
LinkName
));
126
throw new InvalidOperationException($"Symlink '{entry.Name}' targets '{entry.
LinkName
}' which resolves outside the destination directory.");
137
File.CreateSymbolicLink(fullPath, entry.
LinkName
);
Microsoft.DotNet.SignTool (1)
src\ZipData.cs (1)
683
File.CreateSymbolicLink(outputPath, tar.
LinkName
);
System.Formats.Tar (6)
System\Formats\Tar\PaxTarEntry.cs (1)
117
/// <para>Setting properties such as <see cref="TarEntry.Name"/>, <see cref="TarEntry.ModificationTime"/>, <see cref="TarEntry.Uid"/>, <see cref="TarEntry.Gid"/>, <see cref="PosixTarEntry.UserName"/>, <see cref="PosixTarEntry.GroupName"/>, <see cref="TarEntry.
LinkName
"/>, <see cref="PosixTarEntry.DeviceMajor"/>, or <see cref="PosixTarEntry.DeviceMinor"/> will update the corresponding extended attribute to keep properties and extended attributes synchronized.</para>
System\Formats\Tar\TarEntry.cs (2)
379
string linkName = ArchivingUtils.SanitizeEntryFilePath(
LinkName
, preserveDriveRoot: true);
394
string linkName = ArchivingUtils.SanitizeEntryFilePath(
LinkName
, preserveDriveRoot: false);
System\Formats\Tar\TarHeader.Write.cs (1)
686
throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(TarEntry.
LinkName
)), ArgNameEntry);
System\Formats\Tar\TarWriter.cs (2)
250
/// <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>
298
/// <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>