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.
This commit is contained in:
stickies-v 2023-02-28 12:52:42 +00:00
parent 519ec2650e
commit fb0dbe9423
No known key found for this signature in database
GPG Key ID: 5CB1CE6E5E66A757

View File

@ -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); }