-
Notifications
You must be signed in to change notification settings - Fork 6
/
file_type.go
27 lines (25 loc) · 825 Bytes
/
file_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package vfs
type FileType int
const (
// FileTypeRegularFile means the file is a regular file.
FileTypeRegularFile FileType = iota
// FileTypeDirectory means the file is a directory.
FileTypeDirectory
// FileTypeSymlink means the file is a symbolic link.
FileTypeSymlink
// FileTypeBlockDevice means the file is a block device.
FileTypeBlockDevice
// FileTypeCharacterDevice means the file is a character device.
FileTypeCharacterDevice
// FileTypeFIFO means the file is a FIFO.
FileTypeFIFO
// FileTypeSocket means the file is a socket.
FileTypeSocket
// FileTypeOther means the file is neither a regular file, a
// directory or symbolic link.
FileTypeNamedAttributeDir
FileTypeNamedAttribute
// FileTypeOther means the file is neither a regular file, a
// directory or symbolic link.
FileTypeOther
)