Module temp_workspace

Module temp_workspace 

Source
Expand description

Temporary workspace helpers for download and install flows.

The temp-workspace contract keeps installer staging under a repo-independent directory derived from the OS temp root. That lets the download and install pipelines create disposable workspaces without polluting the managed root.

Staticsยง

TEMP_ROOT_SUFFIX ๐Ÿ”’

Functionsยง

build_temp_root
Build a unique temp root for a package name and version.
is_temp_root_for
Return true when a path belongs to the expected package temp root.
sanitize_component ๐Ÿ”’
temp_root_base
Return the base temp directory used by WinBrew staging workspaces.
temp_root_name ๐Ÿ”’
temp_root_prefix
Return the stable prefix used for temp root detection.