Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ isdev
Method
isdev
src/fs/directory_entry.rs:69–72 ·
view source on GitHub ↗
Is a device
(&self)
Source
from the content-addressed store, hash-verified
67
68
// Is a device
69
pub fn isdev(&self) -> bool
70
{
71
self.tp == FileType::Dev
72
}
73
74
// Is a directory
75
pub fn isdir(&self) -> bool
Callers
4
read
Function · 0.80
read_to_bytes
Function · 0.80
reopen
Function · 0.80
open
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected