def find_matching_files(self, includes):

        if len(includes) == 0: 
            return [] 

        files = [f['relativepath'] for f in self.package['resources']]
        includes = r'|'.join([fnmatch.translate(x) for x in includes])

        # Match both the file name as well the path..
        files = [f for f in files if re.match(includes, os.path.basename(f))] + \
                [f for f in files if re.match(includes, f)]
        files = list(set(files))

        return files

    # Cache for partially computed information
Closes then moves the file to dst.
dataset/ETHPy150Open pingali/dgit/dgitcore/plugins/repomanager.py/Repo.find_matching_files--crossover with--dataset/ETHPy150Open smartfile/django-transfer/django_transfer/__init__.py/ProxyUploadedFile.move