Return the workspace directory path for a given view. The path is `.atomic/workspaces/ /`. View names may contain `/` (e.g. `agent/ses_abc123`), which becomes a nested directory structure.
(dot_dir: &Path, view_name: &str)
| 6 | /// contain `/` (e.g. `agent/ses_abc123`), which becomes a nested |
| 7 | /// directory structure. |
| 8 | pub(super) fn workspace_path(dot_dir: &Path, view_name: &str) -> PathBuf { |
| 9 | dot_dir.join(WORKSPACES_DIR).join(view_name) |
| 10 | } |
| 11 | |
| 12 | /// Ensure the workspace directory for a view exists. |
| 13 | /// |
no outgoing calls
no test coverage detected