diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/__init__.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/python/__init__.py b/python/__init__.py index cb8bc555..5dce604b 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -155,6 +155,15 @@ def user_plugin_path(): """ return core.BNGetUserPluginDirectory() +def user_directory(): + """ + ``user_directory`` returns a string containing the path to the `user directory <https://docs.binary.ninja/getting-started.html#user-folder>`_ + + :return: current user path + :rtype: str, or None on failure + """ + return core.BNGetUserDirectory() + def core_version(): """ ``core_version`` returns a string containing the current version |
