14 references to Mode
aspire (4)
Bundles\BundleService.cs (2)
282if (!OperatingSystem.IsWindows() && entry.Mode != default) 284File.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)
70UnixFileMode = (uint)entry.Mode, 421log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName} (perms: {Convert.ToString((uint)entry.Mode, 8)})."); 691SetUnixFileMode(log, (uint)tar.Mode, outputPath);
System.Formats.Tar (7)
System\Formats\Tar\TarEntry.cs (4)
324TarHelpers.CreateDirectory(destinationFullPath, Mode, pendingModes); 347TarHelpers.CreateDirectory(destinationFullPath, Mode, pendingModes); 470Directory.CreateDirectory(filePath, Mode); 624fileStreamOptions.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);