MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / current_view

Function current_view

atomic-cli/src/commands/git/shadow.rs:2304–2308  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

2302 }
2303
2304 fn current_view(root: &Path) -> String {
2305 let repo = atomic_repository::Repository::open_readonly(root).unwrap();
2306 let working_copy = repo.require_working_copy_id().unwrap();
2307 repo.desired_view_name(working_copy).unwrap()
2308 }
2309
2310 #[test]
2311 fn agent_view_selection_is_native_without_shim_enrollment() {

Calls 3

desired_view_nameMethod · 0.80
unwrapMethod · 0.45