forked from Mirror/pmbootstrap
pmb: Add more type hints (MR 2490)
This commit is contained in:
parent
206ba62417
commit
5ed5817e80
36 changed files with 174 additions and 120 deletions
|
@ -287,7 +287,7 @@ def command_qemu(
|
|||
return (command, env)
|
||||
|
||||
|
||||
def resize_image(img_size_new, img_path):
|
||||
def resize_image(img_size_new: str, img_path: Path) -> None:
|
||||
"""
|
||||
Truncates an image to a specific size. The value must be larger than the
|
||||
current image size, and it must be specified in MiB or GiB units (powers of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue