mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
add function profile
This commit is contained in:
parent
678a11dcf2
commit
109553436d
1 changed files with 6 additions and 0 deletions
|
@ -52,6 +52,12 @@ struct Options {
|
|||
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)]
|
||||
fn cksum<'a, I>(mut options: Options, files: I) -> UResult<()>
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue