MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / DeleteFile

Method DeleteFile

Src/Common/FSecure/Dropbox/DropboxApi.cpp:186–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void FSecure::Dropbox::DeleteFile(std::string const& filename)
187{
188 std::string url = OBF("https://api.dropboxapi.com/2/files/delete_v2");
189 json j;
190 j[OBF("path")] = filename;
191
192 SendJsonRequest(url, j);
193}
194
195FSecure::ByteVector FSecure::Dropbox::SendHttpRequest(std::string const& host, std::string const& header, std::optional<WinHttp::ContentType> contentType, ByteView data)
196{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected