From 450027bfa296d98cc6f9342edfffc0c814a1029c Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Thu, 7 Apr 2022 10:58:24 +0200 Subject: [PATCH] Add JSON API to determine config directory --- src/retroshare/rsinit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/retroshare/rsinit.h b/src/retroshare/rsinit.h index ba2c33765..2df5eb4ad 100644 --- a/src/retroshare/rsinit.h +++ b/src/retroshare/rsinit.h @@ -251,6 +251,8 @@ public: * @brief ConfigDirectory (usually ~/.retroshare) you can call this method * even before initialisation (you can't with some other methods) * @see RsAccountsDetail::PathBaseDirectory() + * @jsonapi{development,unauthenticated} + * @return a string containing the path */ static std::string ConfigDirectory();