1 write to Mode
Microsoft.NET.Build.Containers (1)
Layer.cs (1)
171entry.Mode = mode;
11 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);
System.Formats.Tar (7)
System\Formats\Tar\TarEntry.cs (4)
326TarHelpers.CreateDirectory(destinationFullPath, Mode, pendingModes); 349TarHelpers.CreateDirectory(destinationFullPath, Mode, pendingModes); 472Directory.CreateDirectory(filePath, Mode); 626fileStreamOptions.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);