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

Method with_files

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

Builder: set files to record.

(mut self, files: I)

Source from the content-addressed store, hash-verified

273
274 /// Builder: set files to record.
275 pub fn with_files<I, S>(mut self, files: I) -> Self
276 where
277 I: IntoIterator<Item = S>,
278 S: Into<String>,
279 {
280 self.files = files.into_iter().map(|s| s.into()).collect();
281 self
282 }
283
284 /// Builder: set the author.
285 pub fn with_author(mut self, author: impl Into<String>) -> Self {

Calls 1

into_iterMethod · 0.45