fn create_file(name: &str, size_bytes: usize) {
    let n_blocks_to_assign = size_bytes / BLOCK_SIZE_BYTES;
    // assign blocks from extent tree
    let blocks = assign_blocks(n_blocks_to_assign);
}
// creation methods can maybe return the logical addr of the newly created file/dir
creation methods can maybe return the logical addr of the newly created file/dir
creation methods can maybe return the logical addr of the newly created file / dir
fn create_file(name: &str, size_bytes: usize) {
    let n_blocks_to_assign = size_bytes / BLOCK_SIZE_BYTES;
    // assign blocks from extent tree
    let blocks = assign_blocks(n_blocks_to_assign);
}
fn create_file ( name : & str , size_bytes : usize ) { let n_blocks_to_assign = size_bytes / BLOCK_SIZE_BYTES ; // assign blocks from extent tree let blocks = assign_blocks ( n_blocks_to_assign ) ; }
creation methods can maybe return the logical addr of the newly created file/dir
creation methods can maybe return the logical addr of the newly created file / dir
name
&str
size_bytes
usize
name
&str
size_bytes
usize