using System;
namespace Vanara.RunTimeLib
{
/// These constants are used to indicate file type in the st_mode field of the _stat structure.
[Flags]
public enum FilePermissionConstant : int
{
/// File type mask
_S_IFMT = 0xF000,
/// Directory
_S_IFDIR = 0x4000,
/// Character special
_S_IFCHR = 0x2000,
/// Pipe
_S_IFIFO = 0x1000,
/// Regular
_S_IFREG = 0x8000,
/// Read permission, owner
_S_IREAD = 0x0100,
/// Write permission, owner
_S_IWRITE = 0x0080,
/// Execute/search permission, owner
_S_IEXEC = 0x0040,
}
}