def METHOD_NAME(self):
    """
    run the plugin
    """
    hide_files = self.workflow.conf.hide_files
    if not hide_files:
        self.log.info("Skipping hide files: no files to hide")
        return
    custom_image_index = self._get_custom_image_index()
    files_to_hide = list(map(Path, hide_files["files"]))
    tmpdir = Path(hide_files["tmpdir"])
    # At the start of the build, hide files by moving them to the configured tmpdir
    start_lines = [
        f"RUN mv -f {file_to_hide} {tmpdir} || :" for file_to_hide in files_to_hide
    ]
    # At the end of the build, move the hidden files back to their original locations
    end_lines = [
        f"RUN mv -fZ {tmpdir / file_to_hide.name} {file_to_hide} || :"
        for file_to_hide in files_to_hide
    ]
    hide_in_build_dir = functools.partial(self._add_hide_lines, custom_image_index,
                                          start_lines, end_lines)
    self.workflow.build_dir.for_each_platform(hide_in_build_dir)