mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
Formatted Document
This commit is contained in:
@@ -398,9 +398,9 @@ fn format_directive<'entry>(
|
||||
// but in reality it just returns the number of blocks, *regardless
|
||||
// of their size on the filesystem*. That behavior is copied here,
|
||||
// even though it's arguably not 100% correct.
|
||||
let bs = if *large_blocks {1024} else {512};
|
||||
let bs = if *large_blocks { 1024 } else { 512 };
|
||||
let blocks = len.div_ceil(bs);
|
||||
|
||||
|
||||
blocks.to_string().into()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user