Applier.h 294 B

12345678910111213141516
  1. /*
  2. * Copyright (c) 2023, Shannon Booth <shannon@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Error.h>
  8. #include <LibDiff/Forward.h>
  9. namespace Diff {
  10. ErrorOr<void> apply_patch(Stream& out, Vector<StringView> const& lines, Patch const& patch);
  11. }