2 writes to Mode
Microsoft.Build.Tasks.Core (1)
TarDirectory.cs (1)
515entry.Mode = info.UnixFileMode;
Microsoft.NET.Build.Containers (1)
Layer.cs (1)
195entry.Mode = mode;
12 references to Mode
aspire (4)
Bundles\BundleService.cs (2)
934if (!environment.IsWindows() && entry.Mode != default) 936File.SetUnixFileMode(fullPath, (UnixFileMode)entry.Mode);
Utils\ArchiveHelper.cs (2)
110if (!environment.IsWindows() && entry.Mode != default) 112File.SetUnixFileMode(fullPath, (UnixFileMode)entry.Mode);
Infrastructure.Tests (1)
Pipelines\TrayBundleTests.cs (1)
114Assert.Equal(File.GetUnixFileMode(Path.Combine(source, relativePath)), entry.Mode);
System.Formats.Tar (7)
System\Formats\Tar\TarEntry.cs (4)
337TarHelpers.CreateDirectory(destinationFullPath, Mode, extractState.PendingModes); 369TarHelpers.CreateDirectory(destinationFullPath, Mode, extractState.PendingModes); 657Directory.CreateDirectory(filePath, Mode); 850fileStreamOptions.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);