diff options
author | Andy Shevchenko <[email protected]> | 2024-02-29 22:52:30 +0200 |
---|---|---|
committer | Kees Cook <[email protected]> | 2024-02-29 22:34:42 -0800 |
commit | f0b7f8ade9d2532a7d7da40eb297570d48dd2147 (patch) | |
tree | d0492622843644492a64744db50a1ac2e58e83f1 /scripts/generate_rust_analyzer.py | |
parent | aaa8736370db1a78f0e8434344a484f9fd20be3b (diff) |
lib/string_helpers: Add flags param to string_get_size()
The new flags parameter allows controlling
- Whether or not the units suffix is separated by a space, for
compatibility with sort -h
- Whether or not to append a B suffix - we're not always printing
bytes.
Co-developed-by: Kent Overstreet <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Kent Overstreet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions