PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clcagefslib
/
webisolation
/
__pycache__
� ���!&"� �� � d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z ddl mZ d d lm Z mZ d dlmZ d dlmZ d d lmZmZ d dlmZ G d� d� � Zdede j dz ddfd�ZdS )z� Builder for website isolation jail mount configurations. Collects user docroots and isolation settings, then generates the complete jail mount configuration. � N)�Path)�ClPwd)�userdomains)�NoPanelUser� )� write_via_tmp� )�config� jail_utils)�MountConfig)�IsolatedRootConfig)�build_docroot_tree�process_ordered_mounts)� MountTypec �Z � e Zd ZdZdefd�Zdeddfd�Zdeddfd�Zdeddfd �Zdefd �Z dS )�JailMountsConfigBuilderz� Builder for generating jail mount configuration files. Collects docroots and isolation settings, then generates the mount configuration string for the jail.c implementation. �userc � � || _ t � � | _ t � � | _ t � � | _ d S )N)r �set� _all_docroots�_isolated_docroots�_phpselector_docroots)�selfr s �`opt/cloudlinux/venv/lib/python3.11/site-packages/clcagefslib/webisolation/jail_config_builder.py�__init__z JailMountsConfigBuilder.__init__&