(
working_copy_dot_dir: &Path,
common_dot_dir: &Path,
)
| 1391 | } |
| 1392 | |
| 1393 | fn read_legacy_current_view( |
| 1394 | working_copy_dot_dir: &Path, |
| 1395 | common_dot_dir: &Path, |
| 1396 | ) -> Result<String, RepositoryError> { |
| 1397 | if let Some(view) = Self::read_current_view_if_present(working_copy_dot_dir)? { |
| 1398 | return Ok(view); |
| 1399 | } |
| 1400 | if working_copy_dot_dir != common_dot_dir { |
| 1401 | if let Some(view) = Self::read_current_view_if_present(common_dot_dir)? { |
| 1402 | return Ok(view); |
| 1403 | } |
| 1404 | } |
| 1405 | Ok(DEFAULT_STACK.to_string()) |
| 1406 | } |
| 1407 | |
| 1408 | /// Write the current view as a derived compatibility artifact. |
| 1409 | fn write_current_view(&self, view: &str) -> Result<(), RepositoryError> { |
nothing calls this directly
no outgoing calls
no test coverage detected