Improve naming of directory enumerator in coral::fs

This commit is contained in:
kayomn 2023-02-25 12:46:19 +00:00
parent ff4d60a1b3
commit 38e4572352

View File

@ -132,13 +132,13 @@ export namespace coral {
virtual ~fs() {};
/**
* Attempts to read the files in `files_path`, calling `apply` for each of the files encountered with the
* Attempts to read the files in `directory_path`, calling `apply` for each of the files encountered with the
* fully-qualified file path. If either no files are found or the file-system does not support the operation,
* `apply` is never caled.
*
* `false` may be returned inside of `apply` to halt the enumeration.
*/
virtual void enumerate_files(path const & files_path, closure<bool(slice<path const>)> const & apply) {}
virtual void enumerate_directory(path const & directory_path, closure<bool(path const &)> const & apply) {}
/**
* Queries the file-system for its global [access_rules], returning them.