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

Function manifest_path_falls_back_to_home

atomic-cli/src/commands/update.rs:615–621  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

613
614 #[test]
615 fn manifest_path_falls_back_to_home() {
616 let env = MockEnv::new().set("HOME", "/h");
617 assert_eq!(
618 manifest_path(&env),
619 PathBuf::from("/h/.local/state/atomic/install.json")
620 );
621 }
622
623 #[test]
624 fn manifest_path_treats_empty_xdg_state_home_as_unset() {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected