1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

formatting

This commit is contained in:
Kelly Brazil
2023-12-10 10:41:09 -08:00
parent e835227027
commit c8fb56c601
2 changed files with 38 additions and 36 deletions

View File

@ -196,6 +196,7 @@ Parameters:
(base-2) for ambiguous unit symbols and names,
`False` to use decimal multiples of bytes (base-10).
Returns:
integer/None Integer if successful conversion, otherwise None
This function knows how to parse sizes in bytes, kilobytes, megabytes,

View File

@ -309,6 +309,7 @@ def convert_size_to_int(size: str, binary: bool = False) -> Optional[int]:
(base-2) for ambiguous unit symbols and names,
`False` to use decimal multiples of bytes (base-10).
Returns:
integer/None Integer if successful conversion, otherwise None
This function knows how to parse sizes in bytes, kilobytes, megabytes,