@@ -274,24 +274,15 @@ class ArgsManager
274
274
* @return Absolute path on success, otherwise an empty path when a non-directory path would be returned
275
275
* @post Returned directory path is created unless it is empty
276
276
*/
277
- const fs::path& GetDataDirBase () const { return GetDataDirPath (false ); }
277
+ const fs::path& GetDataDirBase () const { return GetDataDir (false ); }
278
278
279
279
/* *
280
280
* Get data directory path with appended network identifier
281
281
*
282
282
* @return Absolute path on success, otherwise an empty path when a non-directory path would be returned
283
283
* @post Returned directory path is created unless it is empty
284
284
*/
285
- const fs::path& GetDataDirNet () const { return GetDataDirPath (true ); }
286
-
287
- /* *
288
- * Get data directory path
289
- *
290
- * @param net_specific Append network identifier to the returned path
291
- * @return Absolute path on success, otherwise an empty path when a non-directory path would be returned
292
- * @post Returned directory path is created unless it is empty
293
- */
294
- const fs::path& GetDataDirPath (bool net_specific = true ) const ;
285
+ const fs::path& GetDataDirNet () const { return GetDataDir (true ); }
295
286
296
287
/* *
297
288
* Clear cached directory paths
@@ -453,6 +444,15 @@ class ArgsManager
453
444
void LogArgs () const ;
454
445
455
446
private:
447
+ /* *
448
+ * Get data directory path
449
+ *
450
+ * @param net_specific Append network identifier to the returned path
451
+ * @return Absolute path on success, otherwise an empty path when a non-directory path would be returned
452
+ * @post Returned directory path is created unless it is empty
453
+ */
454
+ const fs::path& GetDataDir (bool net_specific) const ;
455
+
456
456
// Helper function for LogArgs().
457
457
void logArgsPrefix (
458
458
const std::string& prefix,
0 commit comments