Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ isdir
Method
isdir
src/fs/directory_entry.rs:75–78 ·
view source on GitHub ↗
Is a directory
(&self)
Source
from the content-addressed store, hash-verified
73
74
// Is a directory
75
pub fn isdir(&self) -> bool
76
{
77
self.tp == FileType::Directory
78
}
79
80
// Is a file
81
pub fn isfile(&self) -> bool
Callers
2
shcomp
Function · 0.80
open
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected