Skip to content

v2

Choose a tag to compare

@bugdea1er bugdea1er released this 29 Jan 11:33
· 141 commits to main since this release

Breaking changes

  • file now extends std::iostream (#150). std::fstream is C++ opened file abstraction, file now just simulates it for reading/writing operations instead of providing its own.
  • directory::list method has been removed (#149). directory::list did not add anything new compared to the standard std::filesystem::directory_iterator and 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.
  • entry no longer provides a definition for or manages its native handle (#148). This is because defining and managing native_handle in entry limits the variety of types of handles: for example, file could use corecrt on Windows and manage int instead of HANDLE
  • The target parent is no longer created when moving a temporary entry (#151). This just mimics behavior of standard std::filesystem functions more closely and won't confuse the user
  • Move move from entry (#152). file and directory still provide this method, but any otherentry subclass should implement it if needed

Full Changelog: v1.3...v2