Module paths

Module paths 

Source
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ยง

ManagedRootLayout ๐Ÿ”’
ResolvedPaths
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.