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

Function repo_git_watch_defaults_to_auto

atomic-config/src/lib.rs:1199–1203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1197
1198 #[test]
1199 fn repo_git_watch_defaults_to_auto() {
1200 assert_eq!(RepoConfig::default().git.watch, GitWatch::Auto);
1201 let parsed: RepoConfig = toml::from_str("").unwrap();
1202 assert_eq!(parsed.git.watch, GitWatch::Auto);
1203 }
1204
1205 /// CB-13D (RFC §11.2): the watch daemon is opt-in only and its silence
1206 /// window is floored at 250 ms; an absent section reads as fully

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected