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

Method new

atomic-agent/src/watcher/fallback.rs:202–208  ·  view source on GitHub ↗

Create a new fallback watcher with the given configuration.

(config: WatcherConfig)

Source from the content-addressed store, hash-verified

200impl FallbackWatcher {
201 /// Create a new fallback watcher with the given configuration.
202 pub fn new(config: WatcherConfig) -> Self {
203 Self {
204 config,
205 pre_snapshot: None,
206 active_session: None,
207 }
208 }
209
210 /// Returns the repository root path.
211 pub fn repo_root(&self) -> &Path {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected