MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / default

Method default

crates/opencode-watcher/src/lib.rs:57–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56impl Default for WatcherConfig {
57 fn default() -> Self {
58 Self {
59 ignore_patterns: vec![
60 "**/node_modules/**".to_string(),
61 "**/.git/**".to_string(),
62 "**/target/**".to_string(),
63 "**/.DS_Store".to_string(),
64 "**/*.swp".to_string(),
65 "**/*.swo".to_string(),
66 "**/*~".to_string(),
67 ],
68 debounce_ms: 100,
69 recursive: true,
70 }
71 }
72}
73
74/// File system watcher

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected