##// END OF EJS Templates
vcs: Add method to return the base path to the repo store.
Martin Bornhold -
r555:9193199d default
parent child Browse files
Show More
@@ -484,6 +484,16 b' def get_rhodecode_realm():'
484 484 return safe_str(realm.app_settings_value)
485 485
486 486
487 def get_rhodecode_base_path():
488 """
489 Returns the base path. The base path is the filesystem path which points
490 to the repository store.
491 """
492 from rhodecode.model.settings import SettingsModel
493 paths_ui = SettingsModel().get_ui_by_section_and_key('paths', '/')
494 return safe_str(paths_ui.ui_value)
495
496
487 497 def map_groups(path):
488 498 """
489 499 Given a full path to a repository, create all nested groups that this
General Comments 0
You need to be logged in to leave comments. Login now