first commit

This commit is contained in:
2024-12-06 04:58:55 -06:00
commit 856373b396
61 changed files with 5920 additions and 0 deletions

16
examples/copyfile.cpp Normal file
View File

@ -0,0 +1,16 @@
#include "TessesFramework/TessesFramework.hpp"
using namespace Tesses::Framework::Filesystem;
int main(int argc, char** argv)
{
LocalFilesystem fs;
VFSPath src = fs.SystemToVFSPath(argv[1]);
VFSPath dest = fs.SystemToVFSPath(argv[2]);
auto srcs = fs.OpenFile(src,"rb");
auto dests = fs.OpenFile(dest,"wb");
srcs->CopyTo(*dests);
delete srcs;
delete dests;
}