diff options
author | B. Stack <bgstack15@gmail.com> | 2023-01-22 13:56:55 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-01-22 13:56:55 -0500 |
commit | 75e05bc441382db69c842a64c562738cb749214e (patch) | |
tree | 698b60b3b4b914bf7958cf1174d0373909bf1e8f /zen/file_traverser.h | |
parent | add upstream 11.29 (diff) | |
download | FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.tar.gz FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.tar.bz2 FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.zip |
add upstream 12.0
Diffstat (limited to 'zen/file_traverser.h')
-rw-r--r-- | zen/file_traverser.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/zen/file_traverser.h b/zen/file_traverser.h index 8bd32f2c..8903548d 100644 --- a/zen/file_traverser.h +++ b/zen/file_traverser.h @@ -8,6 +8,7 @@ #define FILER_TRAVERSER_H_127463214871234 #include <functional> +#include "file_error.h" #include "file_path.h" namespace zen @@ -34,12 +35,10 @@ struct SymlinkInfo }; //- non-recursive -//- directory path may end with PATH_SEPARATOR -void traverseFolder(const Zstring& dirPath, //noexcept - const std::function<void(const FileInfo& fi)>& onFile, // - const std::function<void(const FolderInfo& fi)>& onFolder, //optional - const std::function<void(const SymlinkInfo& si)>& onSymlink, // - const std::function<void(const std::wstring& errorMsg)>& onError); // +void traverseFolder(const Zstring& dirPath, + const std::function<void(const FileInfo& fi)>& onFile, /*optional*/ + const std::function<void(const FolderInfo& fi)>& onFolder,/*optional*/ + const std::function<void(const SymlinkInfo& si)>& onSymlink/*optional*/); //throw FileError } #endif //FILER_TRAVERSER_H_127463214871234 |