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

Method new

atomic-core/src/output/repo/tree.rs:154–156  ·  view source on GitHub ↗

Create new options with defaults. Default configuration: - No prefix filter - Include hidden files - Unlimited depth - Collect both files and directories - No exclude patterns # Example ```rust use atomic_core::output::repo::TreeCollectOptions; let opts = TreeCollectOptions::new(); assert!(opts.prefix.is_empty()); assert!(opts.include_hidden); assert!(opts.max_depth.is_none()); ```

()

Source from the content-addressed store, hash-verified

152 /// assert!(opts.max_depth.is_none());
153 /// ```
154 pub fn new() -> Self {
155 Self::default()
156 }
157
158 /// Set the prefix filter.
159 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected