Improve naming of directory enumerator in coral::fs
This commit is contained in:
parent
ff4d60a1b3
commit
38e4572352
@ -132,13 +132,13 @@ export namespace coral {
|
|||||||
virtual ~fs() {};
|
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,
|
* fully-qualified file path. If either no files are found or the file-system does not support the operation,
|
||||||
* `apply` is never caled.
|
* `apply` is never caled.
|
||||||
*
|
*
|
||||||
* `false` may be returned inside of `apply` to halt the enumeration.
|
* `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.
|
* Queries the file-system for its global [access_rules], returning them.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user