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

Method branch

src/task_builder.rs:230–233  ·  view source on GitHub ↗

Sets a specific branch to clone from instead of the current working tree. When set, the task copies only the committed state at the branch's HEAD.

(mut self, branch: Option<String>)

Source from the content-addressed store, hash-verified

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.
230 pub fn branch(mut self, branch: Option<String>) -> Self {
231 self.branch = branch;
232 self
233 }
234
235 /// Builds the task, creating all necessary files and directories
236 pub async fn build(self, ctx: &AppContext) -> Result<Task, Box<dyn Error>> {

Callers 5

create_branchFunction · 0.80
configure_builderMethod · 0.80

Calls

no outgoing calls