def METHOD_NAME(self, path: Path) -> None:
    """
    Like add_file, but uses a Path object instead of callables.
    """
    if path.writable():
        open_w = path.open_w
    else:
        open_w = None
    self.add_file(path.open_r, open_w, path.filesize, path.mtime)