Iros
 
Loading...
Searching...
No Matches
file_type.h
Go to the documentation of this file.
1#pragma once
2
3namespace dius::filesystem {
4// NOTE: the FileType enum is setup to match the Iris MetadataType enum. Since only regular files and directories are
5// supported, the rest of the enum is chosen arbitrarily.
6enum class FileType {
7 None = 128,
8 NotFound = 255,
9 Regular = 1,
12 Block = 4,
14 Fifo = 6,
15 Socket = 7,
17};
18}
Definition directory_entry.h:11
FileType
Definition file_type.h:6
@ Symlink
Definition file_type.h:11
@ NotFound
Definition file_type.h:8
@ Socket
Definition file_type.h:15
@ Character
Definition file_type.h:13
@ Fifo
Definition file_type.h:14
@ Regular
Definition file_type.h:9
@ Block
Definition file_type.h:12
@ Directory
Definition file_type.h:10
@ None
Definition directory_options.h:7
@ Unknown
Definition perms.h:25