(self)
| 1004 | self.cache_config.create() |
| 1005 | |
| 1006 | def open(self): |
| 1007 | if not self.path.is_dir(): |
| 1008 | raise Exception("%s Does not look like a Borg cache" % self.path) |
| 1009 | self.cache_config.open() |
| 1010 | self.cache_config.load() |
| 1011 | |
| 1012 | def close(self): |
| 1013 | self.security_manager.save(self.manifest, self.key) |