diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-04-21 20:09:56 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-04-21 20:13:18 +0200 |
| commit | 41eabf6ac74a7c0e81912742764ebea3d0e1fe07 (patch) | |
| tree | d68a7cba942e3eeecde633f2d2b2cc31ffca661c /src/cppc4group.hpp | |
| parent | 69c6e8b4d300f99a31dcb4491557ffa2452bc243 (diff) | |
| download | cc4group-41eabf6ac74a7c0e81912742764ebea3d0e1fe07.tar.gz cc4group-41eabf6ac74a7c0e81912742764ebea3d0e1fe07.zip | |
He made cc4group lazy and he saw that it was good
Diffstat (limited to 'src/cppc4group.hpp')
| -rw-r--r-- | src/cppc4group.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp index d946cee..e69f9c2 100644 --- a/src/cppc4group.hpp +++ b/src/cppc4group.hpp @@ -161,8 +161,8 @@ public: bool setOfficial(const bool official, const std::string& path = "", const bool recursive = false); bool setExecutable(const bool executable, const std::string& path); - std::optional<EntryInfo> getEntryInfo(const std::string& path = ""); - std::optional<std::vector<EntryInfo>> getEntryInfos(const std::string& path = ""); + std::optional<EntryInfo> getEntryInfo(const std::string& path = "", bool lazy = false); + std::optional<std::vector<EntryInfo>> getEntryInfos(const std::string& path = "", bool lazy = false); bool deleteEntry(const std::string& path, const bool recursive = false); bool renameEntry(const std::string& oldPath, const std::string& newPath); |
