MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / is_dir

Method is_dir

euralios_std/src/fs.rs:340–342  ·  view source on GitHub ↗

Returns true if this metadata is for a directory. The result is mutually exclusive to the result of is_file

(&self)

Source from the content-addressed store, hash-verified

338 /// Returns true if this metadata is for a directory. The result
339 /// is mutually exclusive to the result of is_file
340 pub fn is_dir(&self) -> bool {
341 self.is_dir
342 }
343
344 /// Returns true if this metadata is for a regular file.
345 pub fn is_file(&self) -> bool {

Callers 2

lsFunction · 0.80
fmtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected