mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 01:02:45 +00:00 
			
		
		
		
	 55a3dfec10
			
		
	
	
		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);
 | |
| 
 | |
| }
 |