mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
formatting
This commit is contained in:
@ -196,6 +196,7 @@ Parameters:
|
|||||||
(base-2) for ambiguous unit symbols and names,
|
(base-2) for ambiguous unit symbols and names,
|
||||||
`False` to use decimal multiples of bytes (base-10).
|
`False` to use decimal multiples of bytes (base-10).
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
integer/None Integer if successful conversion, otherwise None
|
integer/None Integer if successful conversion, otherwise None
|
||||||
|
|
||||||
This function knows how to parse sizes in bytes, kilobytes, megabytes,
|
This function knows how to parse sizes in bytes, kilobytes, megabytes,
|
||||||
|
@ -309,6 +309,7 @@ def convert_size_to_int(size: str, binary: bool = False) -> Optional[int]:
|
|||||||
(base-2) for ambiguous unit symbols and names,
|
(base-2) for ambiguous unit symbols and names,
|
||||||
`False` to use decimal multiples of bytes (base-10).
|
`False` to use decimal multiples of bytes (base-10).
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
integer/None Integer if successful conversion, otherwise None
|
integer/None Integer if successful conversion, otherwise None
|
||||||
|
|
||||||
This function knows how to parse sizes in bytes, kilobytes, megabytes,
|
This function knows how to parse sizes in bytes, kilobytes, megabytes,
|
||||||
|
Reference in New Issue
Block a user