module ViteRuby::CLI::FileUtils

def rindex(content, path, target)

Other tags:
    Api: - private

Other tags:
    Since: - 1.2.11
def rindex(content, path, target)
  content.rindex { |line| line.include?(target) } ||
    raise(ArgumentError, "Cannot find `#{ target }' inside `#{ path }'.")
end