22 references to Name
aspire (7)
Bundles\BundleService.cs (3)
244
var name = entry.
Name
;
264
throw new InvalidOperationException($"Tar entry '{entry.
Name
}' would extract outside the destination directory.");
298
throw new InvalidOperationException($"Symlink '{entry.
Name
}' targets '{entry.LinkName}' which resolves outside the destination directory.");
Utils\ArchiveHelper.cs (4)
81
if (string.IsNullOrEmpty(entry.
Name
))
86
var fullPath = Path.GetFullPath(Path.Combine(destinationPath, entry.
Name
));
92
throw new InvalidOperationException($"Tar entry '{entry.
Name
}' would extract outside the destination directory.");
126
throw new InvalidOperationException($"Symlink '{entry.
Name
}' targets '{entry.LinkName}' which resolves outside the destination directory.");
Microsoft.DotNet.SignCheckLibrary (2)
Verification\TarVerifier.cs (2)
49
if (!entry.
Name
.EndsWith("/"))
53
RelativePath = entry.
Name
,
Microsoft.DotNet.SignTool (4)
src\ZipData.cs (4)
68
.Select(static entry => new ZipDataEntry(entry.
Name
, entry.DataStream, entry.Length)
412
string relativeName = entry.
Name
;
644
string relativeName = entry.
Name
;
678
string outputPath = Path.Join(destination, tar.
Name
);
System.Formats.Tar (9)
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 (4)
275
throw new InvalidOperationException(SR.Format(SR.TarEntryDoesNotSupportDataStream,
Name
, EntryType));
311
/// <returns>The <see cref="
Name
"/> of the current entry.</returns>
312
public override string ToString() =>
Name
;
365
string name = ArchivingUtils.SanitizeEntryFilePath(
Name
, preserveDriveRoot: true);
System\Formats\Tar\TarHeader.Write.cs (3)
566
throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(TarEntry.
Name
)), ArgNameEntry);
587
throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(TarEntry.
Name
)), ArgNameEntry);
640
throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(TarEntry.
Name
)), ArgNameEntry);
System\Formats\Tar\TarWriter.cs (1)
421
throw new IOException(SR.Format(SR.TarStreamSeekabilityUnsupportedCombination, entry.
Name
));