def get_file(self,
                 path,
                 dest='',
                 makedirs=False,
                 saltenv='base',
                 gzip=None,
                 cachedir=None):
        '''
        Copies a file from the local files directory into :param:`dest`
        gzip compression settings are ignored for local files
        '''
        path = self._check_proto(path)
        fnd = self._find_file(path, saltenv)
        fnd_path = fnd.get('path')
        if not fnd_path:
            return ''

        return fnd_path
def get_file ( self , path , dest = '' , makedirs = False , saltenv = 'base' , gzip = None , cachedir = None ) : path = self . _check_proto ( path ) fnd = self . _find_file ( path , saltenv ) fnd_path = fnd . get ( 'path' ) if not fnd_path : return '' return fnd_path
Copies a file from the local files directory into :param:`dest`
        gzip compression settings are ignored for local files