3 writes to Mode
Aspire.Cli.EndToEnd.Tests (1)
SettledNpmReleasesTests.cs (1)
181
Mode
= UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.GroupRead | UnixFileMode.OtherRead,
Microsoft.Build.Tasks.Core (1)
TarDirectory.cs (1)
515
entry.
Mode
= info.UnixFileMode;
Microsoft.NET.Build.Containers (1)
Layer.cs (1)
195
entry.
Mode
= mode;
13 references to Mode
aspire (4)
Bundles\BundleService.cs (2)
934
if (!environment.IsWindows() && entry.
Mode
!= default)
936
File.SetUnixFileMode(fullPath, (UnixFileMode)entry.
Mode
);
Utils\ArchiveHelper.cs (2)
110
if (!environment.IsWindows() && entry.
Mode
!= default)
112
File.SetUnixFileMode(fullPath, (UnixFileMode)entry.
Mode
);
Infrastructure.Tests (2)
Pipelines\TrayBundleTests.cs (2)
81
Assert.Equal(File.GetUnixFileMode(original), entry.
Mode
);
189
Assert.Equal(File.GetUnixFileMode(Path.Combine(source, relativePath)), entry.
Mode
);
System.Formats.Tar (7)
System\Formats\Tar\TarEntry.cs (4)
338
TarHelpers.CreateDirectory(destinationFullPath,
Mode
, extractState.PendingModes);
370
TarHelpers.CreateDirectory(destinationFullPath,
Mode
, extractState.PendingModes);
654
Directory.CreateDirectory(filePath,
Mode
);
853
fileStreamOptions.UnixCreateMode =
Mode
& OwnershipPermissions;
System\Formats\Tar\TarEntry.Unix.cs (3)
27
Interop.CheckIo(Interop.Sys.CreateBlockDevice(destinationFileName, (uint)
Mode
, (uint)_header._devMajor, (uint)_header._devMinor), destinationFileName);
34
Interop.CheckIo(Interop.Sys.CreateCharacterDevice(destinationFileName, (uint)
Mode
, (uint)_header._devMajor, (uint)_header._devMinor), destinationFileName);
41
Interop.CheckIo(Interop.Sys.MkFifo(destinationFileName, (uint)
Mode
), destinationFileName);