MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / JsonInt

Function JsonInt

src/common/cli.cpp:135–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135static std::string JsonInt(int64_t n) {
136 return std::to_string(n);
137}
138
139static std::string JsonError(const std::string& message) {
140 return JsonObject({{"success", JsonBool(false)}, {"error", JsonString(message)}});

Callers 8

CmdListRemoteAppsFunction · 0.85
CmdListRemoteAppFilesFunction · 0.85
CmdDeleteRemoteAppFunction · 0.85
CmdDeleteBlobsFunction · 0.85
CmdSyncRemoteAppFunction · 0.85
CmdSyncAllRemoteAppsFunction · 0.85
CmdGcBlobsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected