Skip to main content

get_store_base_dir

Function get_store_base_dir 

Source
pub fn get_store_base_dir(scope: Scope) -> Result<PathBuf, Error>
Expand description

Returns the root directory of the package store for a given scope.

Store Locations:

  • User: ~/.zoi/pkgs/store/
  • System: /var/lib/zoi/pkgs/store/ (Linux) or C:\ProgramData\zoi\pkgs\store (Windows)
  • Project: ./.zoi/pkgs/store/ (Relative to current project root)