// NOTE: formerly part of inode. Now transferred to util because it's both used in Inodes and the Superblock. The superblock does include inode.h, but this makes the code ordering easier to understand.
tm*get_local_time(){
returnlocaltime(¤t_time);
}
// TODO Implement file struct so this function can be implemented
// uint16_t calc_needed_blocks(struct *file )
// returns in bytes.
uint32_tget_file_size(uint16_tblock_count){
returnBLOCKSIZE*block_count;
}
// Make numbers prettier for the user. Might never be used. Inode will store file size in bytes, this should probably be implemented in user space.