mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 17:55:08 +00:00

Given a set of lines from the file we are patching, and a patch itself, this function will try and locate where in the file to apply that patch, and write the result of patching that file (if successful) to the output stream.
22 lines
278 B
C++
22 lines
278 B
C++
/*
|
|
* Copyright (c) 2023, Shannon Booth <shannon.ml.booth@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Diff {
|
|
|
|
enum class Format;
|
|
|
|
class Parser;
|
|
|
|
struct Header;
|
|
struct Hunk;
|
|
struct HunkLocation;
|
|
struct Line;
|
|
struct Patch;
|
|
struct Range;
|
|
|
|
}
|