v2
Breaking changes
filenow extendsstd::iostream(#150).std::fstreamis C++ opened file abstraction,filenow just simulates it for reading/writing operations instead of providing its own.directory::listmethod has been removed (#149).directory::listdid not add anything new compared to the standardstd::filesystem::directory_iteratorand was therefore useless.- Temporary directories are no longer opened when created (#148). In practice, opening temporary directories does not help at all, since there is little you can do with its native handle, and even traversing the directory using the native OS API reopens the directory.
entryno longer provides a definition for or manages its native handle (#148). This is because defining and managingnative_handlein entry limits the variety of types of handles: for example,filecould use corecrt on Windows and manageintinstead ofHANDLE- The target parent is no longer created when moving a temporary entry (#151). This just mimics behavior of standard
std::filesystemfunctions more closely and won't confuse the user - Move
movefromentry(#152).fileanddirectorystill provide this method, but any otherentrysubclass should implement it if needed
Full Changelog: v1.3...v2