mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
55a3dfec10
While not used in normal diffs due to limitations in the format, this may be used in context and unified format diffs.
16 lines
288 B
C++
16 lines
288 B
C++
/*
|
|
* Copyright (c) 2021, Mustafa Quraish <mustafa@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "Hunks.h"
|
|
#include <AK/Error.h>
|
|
|
|
namespace Diff {
|
|
|
|
ErrorOr<Vector<Hunk>> from_text(StringView old_text, StringView new_text, size_t context = 0);
|
|
|
|
}
|