def cache_dir(path, saltenv='base', include_empty=False, include_pat=None, exclude_pat=None):
 return _client().cache_dir(path, saltenv, include_empty, include_pat, exclude_pat)

def cache_dir ( path , saltenv = 'base' , include_empty = False , include_pat = None , exclude_pat = None ) : return _client ( ) . cache_dir ( path , saltenv , include_empty , include_pat , exclude_pat )
download and cache everything under a directory from the master include_pat : none glob or regex to narrow down the files cached from the given path .