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

Method with_files

atomic-cli/src/commands/record/mod.rs:283–290  ·  view source on GitHub ↗

Builder: set files to record.

(mut self, files: I)

Source from the content-addressed store, hash-verified

281
282 /// Builder: set files to record.
283 pub fn with_files<I, S>(mut self, files: I) -> Self
284 where
285 I: IntoIterator<Item = S>,
286 S: Into<String>,
287 {
288 self.files = files.into_iter().map(|s| s.into()).collect();
289 self
290 }
291
292 /// Builder: set the author.
293 pub fn with_author(mut self, author: impl Into<String>) -> Self {

Calls 1

into_iterMethod · 0.45