From fb0dbe94233ec509570cbba3118cf62d8e60842b Mon Sep 17 00:00:00 2001 From: stickies-v Date: Tue, 28 Feb 2023 12:52:42 +0000 Subject: [PATCH] docs: GetDataDirNet and GetDataDirBase don't create datadir Since #27073, the behaviour of GetDataDir changed to only return the datadir path, but not create it. This also changed the behaviour of GetDataDirNet and GetDataDirBase but the docs do not yet reflect that. --- src/util/system.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/system.h b/src/util/system.h index 14f093501a..cb3d76ece5 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -287,7 +287,6 @@ protected: * Get data directory path * * @return Absolute path on success, otherwise an empty path when a non-directory path would be returned - * @post Returned directory path is created unless it is empty */ const fs::path& GetDataDirBase() const { return GetDataDir(false); } @@ -295,7 +294,6 @@ protected: * Get data directory path with appended network identifier * * @return Absolute path on success, otherwise an empty path when a non-directory path would be returned - * @post Returned directory path is created unless it is empty */ const fs::path& GetDataDirNet() const { return GetDataDir(true); }