Application Framework Reference

App Server Utilities API

get_apps_dir()

The get_apps_dir() function gets the current root applications directory path name.

Synopsis

path = get_apps_dir()

Return Value

String

Current root applications directory path name.

Example

import osfrom splunk.appserver.mrsparkle.lib import util

apps_list = os.listdir(util.get_apps_dir())