MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / AsString

Method AsString

src/render_panel/database/file_transfer_record.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 const std::string FileTransferRecord::kUrlUpdateFileTransferRecord = "/api/v1/record/update_file_transfer_info";
18
19 std::string FileTransferRecord::AsString() {
20 return std::format("Begin: {}, End: {}, Controller device: {}, Controlled device: {}, direction: {}, file detail: {}",
21 TimeUtil::FormatTimestamp(begin_), TimeUtil::FormatTimestamp(end_), visitor_device_,target_device_, direction_, file_detail_);
22 }
23
24 std::string FileTransferRecord::AsJson() {
25 nlohmann::json obj;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected