def dir_list(load):
 gitfs = salt.utils.gitfs.GitFS(__opts__)
 gitfs.init_remotes(__opts__['gitfs_remotes'], PER_REMOTE_OVERRIDES, PER_REMOTE_ONLY)
 return gitfs.dir_list(load)

def dir_list ( load ) : gitfs = salt . utils . gitfs . GitFS ( __opts__ ) gitfs . init_remotes ( __opts__ [ 'gitfs_remotes' ] , PER_REMOTE_OVERRIDES , PER_REMOTE_ONLY ) return gitfs . dir_list ( load )
return a list of directories in the given environment saltenv : base the salt fileserver environment to be listed backend narrow fileserver backends to a subset of the enabled ones .