Skip to content

ArtifactDriftResult

The result of comparing a freshly emitted artifact against whatever is (or isn’t) already on disk at its target path, without writing anything.

final class ArtifactDriftResult

Since1.0.0
SourceSupport/Compiler/ArtifactDriftResult.php
PropertyTypeDescription
$existingChecksum?``stringreadonly.
$expectedChecksumstringreadonly.
$matchesboolreadonly.
$targetstringreadonly.

public function __construct(bool $matches, ?string $existingChecksum, string $expectedChecksum, string $target): mixed

ParameterTypeDescription
$matchesbool
$existingChecksum?``string
$expectedChecksumstring
$targetstring

Returns mixed