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

Method resolved_name

src/commands/task_args.rs:55–57  ·  view source on GitHub ↗

Resolves the task name, defaulting to the task type if not provided.

(&self)

Source from the content-addressed store, hash-verified

53impl TaskArgs {
54 /// Resolves the task name, defaulting to the task type if not provided.
55 pub fn resolved_name(&self) -> String {
56 self.name.clone().unwrap_or_else(|| self.r#type.clone())
57 }
58
59 /// Returns a display suffix for the branch flag, e.g. ` from:main`.
60 pub fn branch_suffix(&self) -> String {

Callers 3

executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected