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

Method new

crates/openshell-driver-podman/src/test_utils.rs:27–32  ·  view source on GitHub ↗
(status: StatusCode, body: impl Into<String>)

Source from the content-addressed store, hash-verified

25
26impl StubResponse {
27 pub fn new(status: StatusCode, body: impl Into<String>) -> Self {
28 Self {
29 status,
30 body: body.into(),
31 }
32 }
33}
34
35/// Generate a unique Unix socket path for a test.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected