10 references to FileTypes
System.Formats.Tar (10)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.DeviceFiles.cs (2)
14
return MkNod(pathName, mode |
FileTypes
.S_IFBLK, major, minor);
19
return MkNod(pathName, mode |
FileTypes
.S_IFCHR, major, minor);
System\Formats\Tar\TarWriter.Unix.cs (8)
27
int fileType = status.Mode & Interop.Sys.
FileTypes
.S_IFMT;
32
if (_hardLinkMode == TarHardLinkMode.PreserveLink && (fileType == Interop.Sys.
FileTypes
.S_IFREG) && status.HardLinkCount > 1)
53
Interop.Sys.
FileTypes
.S_IFBLK => TarEntryType.BlockDevice,
54
Interop.Sys.
FileTypes
.S_IFCHR => TarEntryType.CharacterDevice,
55
Interop.Sys.
FileTypes
.S_IFIFO => TarEntryType.Fifo,
56
Interop.Sys.
FileTypes
.S_IFLNK => TarEntryType.SymbolicLink,
57
Interop.Sys.
FileTypes
.S_IFREG => TarHelpers.GetRegularFileEntryTypeForFormat(Format),
58
Interop.Sys.
FileTypes
.S_IFDIR => TarEntryType.Directory,