lime_tbx.persistence.local_storage.appdata module

Module in charge of obtaining the path for the appdata folder. It does not import the Lime logger module. The appdata folder is a user or system lime_tbx folder which contents can be modified without superuser permissions. Useful for the SPICE custom kernel or the log files.

It exports the following functions:
  • get_appdata_folder - Get the path of the appdata folder as a string.

lime_tbx.persistence.local_storage.appdata.get_appdata_folder(logger: Logger) str[source]

Find the path of the appdata folder

Parameters:

logger (logging.Logger) – Logger that will log the messages emitted during the process

Returns:

appdata_path – Appdata folder absolute path

Return type:

str