Skip to content
meta-legend edited this page Jul 8, 2026 · 2 revisions

File ML

File ML is a small C++17 library of file and folder helpers. It gives you one class, ML::File, that wraps std::filesystem and <fstream> behind plain methods like createFile, readBytes, and listFilesRecursive. It needs nothing beyond the standard library.

#include "fileml.h"

ML::File f;
f.createFolders("data/cache");
f.createFile("data/cache/note.txt", "hello");
std::string text = f.readFile("data/cache/note.txt");

Pages

File ML

Related: Network ML

Clone this wiki locally