Lines
0.00%
0 / 2
Methods
0.00%
0 / 2
Classes
0.00%
0 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __construct | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | ||
| isSameFileAs | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 6 | ||
| 7 | final readonly class BoundSocketFile | |
| 8 | { | |
| 9 | public function __construct( | |
| 10 | public string $path, | |
| 11 | public int $device, | |
| 12 | public int $inode, | |
| 13 | ) {} | |
| 14 | ||
| 15 | public function isSameFileAs(self $other): bool | |
| 16 | { | |
| 17 | return $this->device === $other->device && $this->inode === $other->inode; | |
| 18 | } | |
| 19 | } |