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

Method file_name

euralios_std/src/fs.rs:373–375  ·  view source on GitHub ↗

Return the bare file name of this directory entry without any other leading path component.

(&self)

Source from the content-addressed store, hash-verified

371 /// Return the bare file name of this directory entry without any
372 /// other leading path component.
373 pub fn file_name(&self) -> &str {
374 &self.name
375 }
376
377 /// Returns the metadata for the file that this entry points at.
378 pub fn metadata(&self) -> Result<Metadata, SyscallError> {

Callers 2

remove_fileFunction · 0.45
create_dirFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected