Align the view pointer without materializing the working copy. This persists the new view name to `.atomic/current_view` so that subsequent `status()`, `add()`, and `record()` calls target the correct view, but it does **not** add, remove, or update any files on disk. Use this only when the caller will immediately populate the working copy itself (e.g. the agent record hook, which creates files
(&mut self, view: &str)
| 659 | /// Returns an error if the view does not exist or the pointer file |
| 660 | /// cannot be written. |
| 661 | pub fn align_to_view(&mut self, view: &str) -> Result<(), RepositoryError> { |
| 662 | self.set_current_view(view) |
| 663 | } |
| 664 | |
| 665 | /// Set the current view on this handle only. |
| 666 | /// |