MCPcopy Create free account
hub / github.com/ddnet/ddnet / RemoveBinaryFile

Method RemoveBinaryFile

src/engine/shared/storage.cpp:826–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824 }
825
826 bool RemoveBinaryFile(const char *pFilename) override
827 {
828 char aBuffer[IO_MAX_PATH_LENGTH];
829 GetBinaryPath(pFilename, aBuffer, sizeof(aBuffer));
830
831 return fs_remove(aBuffer) == 0;
832 }
833
834 bool RenameFile(const char *pOldFilename, const char *pNewFilename, int Type) override
835 {

Callers 3

ReplaceClientMethod · 0.80
ReplaceServerMethod · 0.80
CommitUpdateMethod · 0.80

Calls 1

fs_removeFunction · 0.85

Tested by

no test coverage detected