MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / isfile

Method isfile

src/fs/directory_entry.rs:81–84  ·  view source on GitHub ↗

Is a file

(&self)

Source from the content-addressed store, hash-verified

79
80 // Is a file
81 pub fn isfile(&self) -> bool
82 {
83 self.tp == FileType::File
84 }
85
86 // Length
87 pub fn len(&self) -> usize

Callers 1

openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected