(self, from_, to_)
| 3250 | log2(f'Adding {to_}') |
| 3251 | |
| 3252 | def add_file(self, from_, to_): |
| 3253 | log1(f'Adding file: {os.path.relpath(from_)} => {to_}') |
| 3254 | with open(from_, 'rb') as f: |
| 3255 | content = f.read() |
| 3256 | self.add_content(content, to_, verbose=False) |
| 3257 | |
| 3258 | def get(self, record_path=None): |
| 3259 | ''' |
nothing calls this directly
no test coverage detected