Expand description
microsandbox_utils::path
is a module containing path utilities for the microsandbox project.
Enums§
- Supported
Path Type - The type of a supported path.
Constants§
- EXTRACTED_
LAYER_ SUFFIX - The suffix added to extracted layer directories
- INSTALLS_
SUBDIR - The directory where installed sandboxes are stored
- LAYERS_
SUBDIR - The directory where global image layers are stored
- LOG_
SUBDIR - The directory where project logs are stored
- LOG_
SUFFIX - The suffix for log files
- MICROSANDBOX_
CONFIG_ FILENAME - The microsandbox config file name.
- MICROSANDBOX_
ENV_ DIR - The directory name for microsandbox’s project-specific data
- MICROSANDBOX_
HOME_ DIR - The directory name for microsandbox’s global data
- NAMESPACES_
SUBDIR - The directory where namespaces are stored
- OCI_
DB_ FILENAME - The filename for the global OCI database
- PATCH_
SUBDIR - The directory where project patch layers are stored
- PORTAL_
PORTS_ FILE - The file where sandbox portal ports are stored
- RW_
SUBDIR - The directory where project read-write layers are stored
- SANDBOX_
DB_ FILENAME - The filename for the project active sandbox database
- SANDBOX_
DIR - The directory on the microvm where sandbox scripts are stored
- SCRIPTS_
DIR - The directory on the microvm where sandbox scripts are stored
- SERVER_
KEY_ FILE - The server secret key file
- SERVER_
PID_ FILE - The PID file for the server
- SHELL_
SCRIPT_ NAME - The shell script name.
- SUPERVISOR_
LOG_ FILENAME - The filename for the supervisor’s log file
- XDG_
BIN_ DIR - The bin subdirectory for microsandbox
- XDG_
LIB_ DIR - The lib subdirectory for microsandbox
Statics§
- XDG_
HOME_ DIR - The XDG home directory
Functions§
- normalize_
path - Normalizes a path string for volume mount comparison.
- resolve_
env_ path - Resolves the path to a file, checking both environment variable and default locations.