MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / exit_code

Method exit_code

crates/openshell-ocsf/src/builders/process.rs:56–59  ·  view source on GitHub ↗
(mut self, code: i32)

Source from the content-addressed store, hash-verified

54 }
55 #[must_use]
56 pub fn exit_code(mut self, code: i32) -> Self {
57 self.exit_code = Some(code);
58 self
59 }
60
61 #[must_use]
62 pub fn build(self) -> OcsfEvent {

Calls

no outgoing calls

Tested by 1