aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstickies-v <stickies-v@protonmail.com>2023-02-28 12:52:42 +0000
committerstickies-v <stickies-v@protonmail.com>2023-02-28 12:52:42 +0000
commitfb0dbe94233ec509570cbba3118cf62d8e60842b (patch)
treed9c44940613e327f61cfcb922c0dcfa2795c4cf5 /src
parent519ec2650e7a4dd2850ff74cba403cf446a44a5a (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/util/system.h2
1 files changed, 0 insertions, 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); }