Return contents of file corresponding to `pack_uri` in package directory.
(self, pack_uri)
| 42 | self._path = os.path.abspath(path) |
| 43 | |
| 44 | def blob_for(self, pack_uri): |
| 45 | """Return contents of file corresponding to `pack_uri` in package directory.""" |
| 46 | path = os.path.join(self._path, pack_uri.membername) |
| 47 | with open(path, "rb") as f: |
| 48 | blob = f.read() |
| 49 | return blob |
| 50 | |
| 51 | def close(self): |
| 52 | """Provides interface consistency with |ZipFileSystem|, but does nothing, a |