From 38e4572352862ca3e3a3c4101d0e4ad6f1c9330f Mon Sep 17 00:00:00 2001 From: kayomn Date: Sat, 25 Feb 2023 12:46:19 +0000 Subject: [PATCH] Improve naming of directory enumerator in coral::fs --- source/coral/files.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/coral/files.cpp b/source/coral/files.cpp index dd5ba3c..8d754c6 100644 --- a/source/coral/files.cpp +++ b/source/coral/files.cpp @@ -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)> const & apply) {} + virtual void enumerate_directory(path const & directory_path, closure const & apply) {} /** * Queries the file-system for its global [access_rules], returning them.