MCPcopy 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

readFunction · 0.80
read_to_bytesFunction · 0.80
reopenFunction · 0.80
openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected