MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / rewrap

Function rewrap

app/src/API/Handlers/AssistantHandler.cpp:54–58  ·  view source on GitHub ↗

* @brief Re-wrap an inner CommandResponse under a new outer id (chained calls). */

Source from the content-addressed store, hash-verified

52 * @brief Re-wrap an inner CommandResponse under a new outer id (chained calls).
53 */
54static API::CommandResponse rewrap(const QString& outerId, API::CommandResponse inner)
55{
56 inner.id = outerId;
57 return inner;
58}
59
60/**
61 * @brief Pack an inner CommandResponse into a step record for steps[] arrays.

Callers 2

workspaceResolveMethod · 0.85
workspacePlanMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected