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

Method watched_paths

crates/opencode-watcher/src/lib.rs:192–194  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

190 }
191
192 pub fn watched_paths(&self) -> Vec<PathBuf> {
193 self.watched_paths.iter().map(|p| p.clone()).collect()
194 }
195
196 pub fn is_watching(&self, path: &Path) -> bool {
197 self.watched_paths.contains(path)

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected