From a44aed2fe3e9737047b8a9a85d523d6a3d5a3aab Mon Sep 17 00:00:00 2001 From: kayomn Date: Thu, 2 Mar 2023 20:40:24 +0000 Subject: [PATCH] Shorten argument names in [coral::file_system] methods --- source/coral/files.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source/coral/files.cpp b/source/coral/files.cpp index e2328ed..cde87cf 100755 --- a/source/coral/files.cpp +++ b/source/coral/files.cpp @@ -64,29 +64,29 @@ export namespace coral { virtual ~file_system() {}; /** - * Attempts to read the file in `target_path`, calling `then` if it was successfully opened for reading and - * passing the [file_reader] context along. + * Attempts to read the file in `path`, calling `then` if it was successfully opened for reading and passing the + * [file_reader] context along. * * See [file_reader] for more information on how to read from the file. */ - virtual void read_file(slice const & target_path, closure const & then) {} + virtual void read_file(slice const & path, closure const & then) {} /** - * Attempts to walk the file tree from `target_path`, calling `then` if it was successfully opened for walking - * and passing the [file_walker] context along. + * Attempts to walk the file tree from `path`, calling `then` if it was successfully opened for walking and + * passing the [file_walker] context along. * * See [file_walker] for more information on how to traverse the file tree. */ - virtual void walk_files(slice const & target_path, closure const & then) {} + virtual void walk_files(slice const & path, closure const & then) {} /** - * Attempts to write a file in the file system located at `target_path`, calling `then` if it was successfully - * created and / or opened for writing and passing the [file_writer] context along. + * Attempts to write a file in the file system located at `path`, calling `then` if it was successfully created + * and / or opened for writing and passing the [file_writer] context along. * * See [file_writer] for more information on how to write to the file. * - * *Note*: Any file already existing at `target_path` will be overwritten to create a new file for writing. + * *Note*: Any file already existing at `path` will be overwritten to create a new file for writing. */ - virtual void write_file(slice const & target_path, closure const & then) {} + virtual void write_file(slice const & path, closure const & then) {} }; }