Skip to main content

attach

Function attach 

Source
pub fn attach(result: Value, files: &[StagedArtifact]) -> Value
Expand description

Attach staged files to a tool result so the runtime delivers them. Sets the workforce file-delivery key on the result object; a non-object result or an empty files slice is returned unchanged.