libcvault v2.1.0-beta - Recursive Scanning and Performance Improvements
Pre-release
Pre-release
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(), andgetFiles(). - 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 withstd::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 aspopulateData()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