file_blob.py 233 B

12345678910
  1. import pathlib
  2. from .file import file
  3. class file_blob:
  4. def __init__(self, content: bytes) -> None:
  5. self.__content = content
  6. def locate(self, where: pathlib.Path) -> file:
  7. return file(where, self.__content)