MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / overwriteFileWithRename

Method overwriteFileWithRename

source/core/StarFile.cpp:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void File::overwriteFileWithRename(ByteArray const& data, String const& filename, String const& newSuffix) {
98 overwriteFileWithRename(data.ptr(), data.size(), filename, newSuffix);
99}
100
101void File::overwriteFileWithRename(String const& data, String const& filename, String const& newSuffix) {
102 overwriteFileWithRename(data.utf8Ptr(), data.utf8Size(), filename, newSuffix);

Callers

nothing calls this directly

Calls 4

ptrMethod · 0.45
sizeMethod · 0.45
utf8PtrMethod · 0.45
utf8SizeMethod · 0.45

Tested by

no test coverage detected