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

Method close

app/src/API/Handlers/CSVExportHandler.cpp:98–108  ·  view source on GitHub ↗

* @brief Close the current CSV file */

Source from the content-addressed store, hash-verified

96 * @brief Close the current CSV file
97 */
98API::CommandResponse API::Handlers::CSVExportHandler::close(const QString& id,
99 const QJsonObject& params)
100{
101 Q_UNUSED(params)
102
103 CSV::Export::instance().closeFile();
104
105 QJsonObject result;
106 result[QStringLiteral("closed")] = true;
107 return CommandResponse::makeSuccess(id, result);
108}
109
110//--------------------------------------------------------------------------------------------------
111// Getters

Callers

nothing calls this directly

Calls 1

closeFileMethod · 0.45

Tested by

no test coverage detected