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

Method get_tracking_options

atomic-cli/src/commands/add.rs:253–259  ·  view source on GitHub ↗

Convert command options to TrackingOptions.

(&self)

Source from the content-addressed store, hash-verified

251
252 /// Convert command options to TrackingOptions.
253 fn get_tracking_options(&self) -> TrackingOptions {
254 let recursive = self.recursive && !self.no_recursive;
255
256 TrackingOptions::default()
257 .with_recursive(recursive)
258 .with_force(self.force)
259 }
260
261 /// Collect all untracked files in the repository.
262 fn collect_untracked_files(

Calls 2

with_forceMethod · 0.45
with_recursiveMethod · 0.45