code: def _repo_url_to_path(self, repo):
          
          repo = repo.replace('http://', '')
          repo = repo.replace('https://', '')
          repo = repo.replace('/', '_')
  
          return os.sep.join([self._data_directory, repo])
docs: Convert a `repo` url to a file path for local storage.