Write Hello, world! to a file and read it!
This commit is contained in:
parent
015a8b6407
commit
8713046a4a
3 changed files with 21 additions and 3 deletions
|
@ -276,4 +276,7 @@ impl DirEntry {
|
|||
let len = (0usize..).find(|i| self.name[*i] == 0).unwrap();
|
||||
core::str::from_utf8(&self.name[..len]).unwrap()
|
||||
}
|
||||
pub fn inode_number(&self) -> u32 {
|
||||
self.inode_number
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue