MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / repo_copy_source

Method repo_copy_source

src/task_builder.rs:223–226  ·  view source on GitHub ↗

Overrides the source directory used when copying the repository. When set, this path is used instead of the auto-detected repository root.

(mut self, source: Option<PathBuf>)

Source from the content-addressed store, hash-verified

221 /// Overrides the source directory used when copying the repository.
222 /// When set, this path is used instead of the auto-detected repository root.
223 pub fn repo_copy_source(mut self, source: Option<PathBuf>) -> Self {
224 self.repo_copy_source = source;
225 self
226 }
227
228 /// Sets a specific branch to clone from instead of the current working tree.
229 /// When set, the task copies only the committed state at the branch's HEAD.

Callers 3

retry_taskMethod · 0.80
configure_builderMethod · 0.80

Calls

no outgoing calls

Tested by 1