Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified doc/AIClient-cpp-Reference.pdf
Binary file not shown.
9 changes: 6 additions & 3 deletions inc/Utilities/dg_file_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ class FileHelper
static size_t dir_size( const std::string &directory )
{
size_t size{ 0 };
for( const auto &entry : std::filesystem::recursive_directory_iterator( directory ) )
for( const auto &entry : std::filesystem::recursive_directory_iterator(
directory,
std::filesystem::directory_options::skip_permission_denied ) )
{
if( entry.is_regular_file() && !entry.is_symlink() )
size += entry.file_size();
Expand Down Expand Up @@ -363,7 +365,9 @@ class FileHelper
std::regex pattern( regex_pattern );

// Iterate recursively over the directory
for( const auto &entry : std::filesystem::recursive_directory_iterator( path ) )
for( const auto &entry : std::filesystem::recursive_directory_iterator(
path,
std::filesystem::directory_options::skip_permission_denied ) )
{
if( !entry.is_directory() )
{
Expand Down Expand Up @@ -391,7 +395,6 @@ class FileHelper
}
}


/// Set current working directory to current executable location directory
/// \return original current working directory
static std::string cwd2exe()
Expand Down
8 changes: 4 additions & 4 deletions inc/Utilities/dg_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
#define DG_VERSION_MINOR 18
#endif
#ifndef DG_VERSION_REVISION
#define DG_VERSION_REVISION 1
#define DG_VERSION_REVISION 2
#endif
#ifndef DG_VERSION_FULL
#define DG_VERSION_FULL "0.18.1"
#define DG_VERSION_FULL "0.18.2"
#endif
#ifndef DG_GIT_REV
#define DG_GIT_REV "0f3b7b2"
#define DG_GIT_REV "731bf2f"
#endif
#ifndef DG_GIT_TAG
#define DG_GIT_TAG ""
#endif
#ifndef DG_GIT_BRANCH
#define DG_GIT_BRANCH "0.18.1"
#define DG_GIT_BRANCH "0.18.2"
#endif

#endif // DG_GLOBAL_VERSION_H