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

Function test_options_max_depth

atomic-core/src/output/repo/tree.rs:996–1000  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

994
995 #[test]
996 fn test_options_max_depth() {
997 let opts = TreeCollectOptions::new().max_depth(3);
998
999 assert_eq!(opts.max_depth, Some(3));
1000 }
1001
1002 #[test]
1003 fn test_options_collect_directories() {

Callers

nothing calls this directly

Calls 1

max_depthMethod · 0.80

Tested by

no test coverage detected