We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We do this a lot. Can it be simplfied or made into a function:
let mut first_dir_block_num = match dir.cluster { ClusterId::ROOT_DIR => self.lba_start + fat16_info.first_root_dir_block, _ => self.cluster_to_block(dir.cluster), }; let dir_size = match dir.cluster { ClusterId::ROOT_DIR => { let len_bytes = u32::from(fat16_info.root_entries_count) * OnDiskDirEntry::LEN_U32; BlockCount::from_bytes(len_bytes) } _ => BlockCount(u32::from(self.blocks_per_cluster)), };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We do this a lot. Can it be simplfied or made into a function:
The text was updated successfully, but these errors were encountered: