def METHOD_NAME(self, parts) -> None:
    _, METHOD_NAME, _, _ = self.get_fileentry(parts)
    if METHOD_NAME is None:
        raise UnsupportedOperation(
            "not writable: " +
            b"/".join(parts).decode(errors='replace'))