async def METHOD_NAME(self, invoker):
    dest = invoker.joinPath(self.__dir)
    os.makedirs(dest, exist_ok=True)
    if self.__prune: emptyDirectory(dest)
    if self.__data is None:
        src = os.path.join(self.__projectRoot, self.__url)
        if not os.path.isdir(src):
            invoker.fail("Cannot import '{}': not a directory!".format(src))
        copyTree(src, dest, invoker)
    else:
        unpackTree(self.__data, dest)