1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 12:37:49 +00:00

add function profile

This commit is contained in:
Yang Hau 2023-02-19 18:09:34 +08:00
parent 678a11dcf2
commit 109553436d

View file

@ -52,6 +52,12 @@ struct Options {
output_bits: usize, output_bits: usize,
} }
/// Calculate checksum
///
/// # Arguments
///
/// * `options` - CLI options for the assigning checksum algorithm
/// * `files` - A iterator of OsStr which is a bunch of files that are using for calculating checksum
#[allow(clippy::cognitive_complexity)] #[allow(clippy::cognitive_complexity)]
fn cksum<'a, I>(mut options: Options, files: I) -> UResult<()> fn cksum<'a, I>(mut options: Options, files: I) -> UResult<()>
where where