Skip to main content

user_workspace_dir

Function user_workspace_dir 

Source
pub fn user_workspace_dir(workspace: &Path) -> Result<PathBuf>
Expand description

Per-user, per-workspace data dir.

Resolves to <user_data_dir>/workspaces/<ws-hash>/, creating it on first call and writing a path.txt marker so a human can map the hash back to the original workspace path.