sandbox/utils.py
def container_workind_dir_device() -> str:
    """Get the device name where the working point of the sandbox is mounted."""
    raw = subprocess.check_output(
        ["df", settings.DOCKER_VOLUME_HOST_BASEDIR], universal_newlines=True
    )
    return raw.split("\n")[1].split()[0]
Get the device name where the working point of the sandbox is mounted.
Get the device name where the working point of the sandbox is mounted.
Get the device name where the working point of the sandbox is mounted .
def container_workind_dir_device() -> str:
    raw = subprocess.check_output(
        ["df", settings.DOCKER_VOLUME_HOST_BASEDIR], universal_newlines=True
    )
    return raw.split("\n")[1].split()[0]
def container_workind_dir_device ( ) -> str : raw = subprocess . check_output ( [ "df" , settings . DOCKER_VOLUME_HOST_BASEDIR ] , universal_newlines = True ) return raw . split ( "\n" ) [ 1 ] . split ( ) [ 0 ]
Get the device name where the working point of the sandbox is mounted.
Get the device name where the working point of the sandbox is mounted .
"""Get the device name where the working point of the sandbox is mounted."""