Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ make_config
Function
make_config
atomic-agent/src/watcher/fallback.rs:274–276 ·
view source on GitHub ↗
(dir: &TempDir)
Source
from the content-addressed store, hash-verified
272
use tempfile::TempDir;
273
274
fn make_config(dir: &TempDir) -> WatcherConfig {
275
WatcherConfig::new(dir.path())
276
}
277
278
// Snapshot tests
279
Callers
15
test_watcher_not_active_initially
Function · 0.85
test_watcher_active_after_begin
Function · 0.85
test_watcher_inactive_after_end
Function · 0.85
test_watcher_inactive_after_cancel
Function · 0.85
test_watcher_end_without_begin_errors
Function · 0.85
test_watcher_cancel_without_begin_is_ok
Function · 0.85
test_watcher_no_changes
Function · 0.85
test_watcher_detects_added_file
Function · 0.85
test_watcher_detects_deleted_file
Function · 0.85
test_watcher_detects_modified_file
Function · 0.85
test_watcher_detects_mixed_changes
Function · 0.85
test_watcher_ignores_atomic_directory
Function · 0.85
Calls
1
path
Method · 0.45
Tested by
15
test_watcher_not_active_initially
Function · 0.68
test_watcher_active_after_begin
Function · 0.68
test_watcher_inactive_after_end
Function · 0.68
test_watcher_inactive_after_cancel
Function · 0.68
test_watcher_end_without_begin_errors
Function · 0.68
test_watcher_cancel_without_begin_is_ok
Function · 0.68
test_watcher_no_changes
Function · 0.68
test_watcher_detects_added_file
Function · 0.68
test_watcher_detects_deleted_file
Function · 0.68
test_watcher_detects_modified_file
Function · 0.68
test_watcher_detects_mixed_changes
Function · 0.68
test_watcher_ignores_atomic_directory
Function · 0.68