pmbootstrap-meow/pmb/chroot/__init__.py
Stefan Hansson ebc5ab9ecd
pmb.chroot: Rename exists() to user_exists() (MR 2545)
This name is what's used at the one call site the codebase currently
has, and it means we can have an explicit re-export which Ruff won't
complain about.
2025-02-23 11:40:44 +01:00

17 lines
584 B
Python

# Copyright 2023 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
from pmb.chroot.init import init as init, init_keys as init_keys, UsrMerge as UsrMerge
from pmb.chroot.mount import (
mount as mount,
mount_native_into_foreign as mount_native_into_foreign,
remove_mnt_pmbootstrap as remove_mnt_pmbootstrap,
)
from pmb.chroot.run import (
root as root,
rootm as rootm,
user as user,
userm as userm,
user_exists as user_exists,
)
from pmb.chroot.shutdown import shutdown as shutdown
from pmb.chroot.zap import zap as zap, del_chroot as del_chroot