1
0
forked from Rativel/BurritOS

ajout de directory.rs

This commit is contained in:
AmauryBrodu
2023-04-04 21:51:45 +02:00
parent 2549103636
commit 25140bda17
3 changed files with 169 additions and 12 deletions

View File

@@ -37,7 +37,7 @@ impl OpenFile {
Creer un "fichier ouvert", charge le file_hdr depuis disk
*/
pub fn open_file(sector : i32) -> OpenFile{
let file_hdr : FileHdr = FileHdr::new();
let file_hdr : FileHdr = FileHdr::init_file_hdr();
let name : String = String::from("");
//ici appel a fetchFrom(sector) sur file_hdr