Expand description
Managed-root path helpers and derived directory contracts.
The path layer owns the active WinBrew root and the directories derived from it. That includes the current runtime database layout, per-package journal paths, package-scoped evidence directories, and reserved shim locations.
Structsยง
- Managed
Root ๐Layout - Resolved
Paths - Fully resolved path set for the active WinBrew root.
Functionsยง
- cache_
dir_ at - Return the installer cache directory for a root.
- cache_
file_ at - Return a cache file path for the given package name and version.
- cache_
filename ๐ - catalog_
db_ at - Return the catalog database path for a root.
- config_
file_ at - Return the persisted configuration file for a root.
- data_
dir_ at - Return the data directory for a root.
- db_
dir_ at - Return the SQLite database directory for a root.
- db_
path_ at - Return the primary SQLite database path for a root.
- install_
root_ from_ package_ dir - Recover the managed root from a package install directory.
- log_
dir_ at - Return the process log directory for a root.
- log_
file_ at - Return the process log file for a root.
- package_
journal_ file_ at - Return the journal file for the given package key.
- packages_
dir_ at - Return the install root directory for a root.
- pkgdb_
dir_ at - Return the package journal directory for a root.
- resolve_
template - Expand
${root}placeholders inside a path template. - resolved_
paths - Build the resolved path set for the active root layout.
- sevenz_
bin_ path_ from_ runtime_ root - Return the 7-Zip binary path for a managed root.
- sevenz_
dll_ path_ from_ runtime_ root - Return the 7-Zip DLL path for a managed root.
- sevenz_
runtime_ dir_ from_ runtime_ root - Return the 7-Zip runtime directory for a managed root.
- system_
sevenz_ binary_ path - Return the first usable 7-Zip binary found on the current PATH.