[nostalgia/tools] Revert writeFileBuff path to ox::String

This commit is contained in:
2021-04-17 14:02:15 -05:00
parent 4a0f6420b6
commit 21f40a8362
2 changed files with 4 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ ox::Error copy(ox::PassThroughFS *src, ox::FileSystem32 *dest, ox::String path)
oxOutf("copying directory: {}\n", path);
ox::Vector<VerificationPair> verificationPairs;
// copy
oxReturnError(src->ls(path.c_str(), [&verificationPairs, src, dest, path](ox::String name, ox::InodeId_t) {
oxReturnError(src->ls(path.c_str(), [&verificationPairs, src, dest, path](const char *name, ox::InodeId_t) {
auto currentFile = path + name;
if (currentFile == "/.nostalgia") {
return OxError(0);