예제 #1
0
파일: router.py 프로젝트: vegaminer/gitfs
    def destroy(self, path):
        log.debug('Stopping workers')
        shutting_down.set()
        fetch.set()

        for worker in self.workers:
            worker.join()
        log.debug('Workers stopped')

        #shutil.rmtree(self.repo_path)
        log.info('Successfully umounted %s', self.mount_path)
예제 #2
0
파일: router.py 프로젝트: PressLabs/gitfs
    def destroy(self, path):
        log.debug('Stopping workers')
        shutting_down.set()
        fetch.set()

        for worker in self.workers:
            worker.join()
        log.debug('Workers stopped')

        shutil.rmtree(self.repo_path)
        log.info('Successfully umounted %s', self.mount_path)