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

Method new

crates/openshell-ocsf/src/builders/process.rs:29–43  ·  view source on GitHub ↗
(ctx: &'a SandboxContext)

Source from the content-addressed store, hash-verified

27impl<'a> ProcessActivityBuilder<'a> {
28 #[must_use]
29 pub fn new(ctx: &'a SandboxContext) -> Self {
30 Self {
31 ctx,
32 activity: ActivityId::Unknown,
33 severity: SeverityId::Informational,
34 status: None,
35 action: None,
36 disposition: None,
37 process: None,
38 actor: None,
39 launch_type: None,
40 exit_code: None,
41 message: None,
42 }
43 }
44
45 #[must_use]
46 pub fn process(mut self, proc: Process) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected