Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/general.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-03-08 17:13:21 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-03-08 17:13:21 +0100
commitfb55e318e5dc87d05da4c636722d24ab9e9cb5b1 (patch)
tree58668a19e299c83642dda2c4e76d1ff18f87577b /archinstall/lib/general.py
parent6306de4bfee2d44ab1f362078a47d6d9a05835ef (diff)
Added two new functions. partition.safe_to_format() and partition.has_content(). The first does some sanity checks to verify if we can format the partition or not. The second temporarly mounts the parition and checks if there's content inside and returns accordingly.
Diffstat (limited to 'archinstall/lib/general.py')
0 files changed, 0 insertions, 0 deletions