Skip to main content

store_path

Function store_path 

Source
pub fn store_path(data_dir: &Path, binding: &ProjectBinding) -> PathBuf
Expand description

Join [store_filename] under a data directory to get the full store path.

Why: the single entry point WorkstreamStore::load_for_binding (and any future daemon boot code) calls to resolve where the store file lives. What: data_dir.join(store_filename(binding)). Test: path_tests::store_path_joins_data_dir_and_filename.