Skip to content

libcvault v2.1.0-beta - Recursive Scanning and Performance Improvements

Pre-release
Pre-release

Choose a tag to compare

@tecnolgd tecnolgd released this 21 Aug 08:52
7445e97

What's Changed

  • Added recursive directory scanning to populateData() to scan files including nested directories.
  • Added getFiles() for access to the populated file list and its element count.
  • Added documentation for getFileName(), getFileSize(), and getFiles().
  • Replaced the filesize and filename based sorting implementations with std::sort.
  • Improved filename lookup using an std::unordered_map.
  • Updated maxFile() to determine the largest file with std::max_element.
  • Documented the behaviour of directory scanning and restricted-folder handling.
  • Documented API details for newly introduced functions.

Note

  • getFiles() returns a raw pointer to libcvault's internal file buffer. The pointer is only valid until the next operation that may modify the file list, such as populateData() or sorting.
  • This remains a beta release and should be treated as subject to API and behaviour changes.

Full Changelog: v2.0.0-beta...v2.1.0-beta