2 from bup import client, git
6 def __init__(self, repo_dir=None):
7 self.repo_dir = repo_dir or git.repo()
8 self._cp = git.cp(repo_dir)
11 return self._cp.join(ref)
14 def __init__(self, address):
15 self.address = address
16 self.client = client.Client(address)
19 return self.client.cat(ref)