-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDiffFile.php
More file actions
33 lines (29 loc) · 643 Bytes
/
DiffFile.php
File metadata and controls
33 lines (29 loc) · 643 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
declare(strict_types=1);
/*
* This file is part of the ALTO library.
*
* © 2025–present Simon André
*
* For full copyright and license information, please see
* the LICENSE file distributed with this source code.
*/
namespace Alto\Code\Diff\Model;
/**
* Represents a diff for a single file.
*
* @author Simon André <smn.andre@gmail.com>
*/
final readonly class DiffFile
{
/**
* @param array<string, string> $headers
*/
public function __construct(
public string $oldPath,
public string $newPath,
public DiffResult $result,
public array $headers = [],
) {
}
}