pub type FileType = VfsNodeType;
Expand description
Alias of [axfs_vfs::VfsNodeType
].
Aliased Type§
enum FileType {
Fifo = 1,
CharDevice = 2,
Dir = 4,
BlockDevice = 6,
File = 8,
SymLink = 10,
Socket = 12,
}
Variants§
Fifo = 1
FIFO (named pipe)
CharDevice = 2
Character device
Dir = 4
Directory
BlockDevice = 6
Block device
File = 8
Regular file
SymLink = 10
Symbolic link
Socket = 12
Socket
Implementations
§impl VfsNodeType
impl VfsNodeType
pub const fn is_symlink(self) -> bool
pub const fn is_symlink(self) -> bool
Tests whether this node type represents a symbolic link.
pub const fn is_block_device(self) -> bool
pub const fn is_block_device(self) -> bool
Returns true
if this node type is a block device.
pub const fn is_char_device(self) -> bool
pub const fn is_char_device(self) -> bool
Returns true
if this node type is a char device.