14 references to Mode
aspire (4)
Bundles\BundleService.cs (2)
285if (!OperatingSystem.IsWindows() && entry.Mode != default) 287File.SetUnixFileMode(fullPath, (UnixFileMode)entry.Mode);
Utils\ArchiveHelper.cs (2)
110if (!OperatingSystem.IsWindows() && entry.Mode != default) 112File.SetUnixFileMode(fullPath, (UnixFileMode)entry.Mode);
Microsoft.DotNet.SignTool (3)
src\ZipData.cs (3)
78UnixFileMode = (uint)entry.Mode, 538log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName} (perms: {Convert.ToString((uint)entry.Mode, 8)})."); 786SetUnixFileMode(log, (uint)tar.Mode, outputPath);
System.Formats.Tar (7)
System\Formats\Tar\TarEntry.cs (4)
309TarHelpers.CreateDirectory(destinationFullPath, Mode, pendingModes); 332TarHelpers.CreateDirectory(destinationFullPath, Mode, pendingModes); 455Directory.CreateDirectory(filePath, Mode); 601fileStreamOptions.UnixCreateMode = Mode & OwnershipPermissions;
System\Formats\Tar\TarEntry.Unix.cs (3)
17Interop.CheckIo(Interop.Sys.CreateBlockDevice(destinationFileName, (uint)Mode, (uint)_header._devMajor, (uint)_header._devMinor), destinationFileName); 24Interop.CheckIo(Interop.Sys.CreateCharacterDevice(destinationFileName, (uint)Mode, (uint)_header._devMajor, (uint)_header._devMinor), destinationFileName); 31Interop.CheckIo(Interop.Sys.MkFifo(destinationFileName, (uint)Mode), destinationFileName);