\Drupal\strata\Health\Tripwire CommitParentMissing

A commit names a parent that is not in the store.

History is a chain, so a missing link truncates every restore point older than it: the walk from the ref stops there and nothing before it can be reached, however intact those objects are. That makes one missing commit object far more expensive than one missing frame.

Summary

Methods
Properties
Constants
code
check
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Methods

code()

code() : string

The stable dotted code every finding from this tripwire reports under.

Returns

string —

For example "frame.digest_mismatch".

check()

check(array  $observation) : \Drupal\strata\Health\Finding|null

Evaluates the check against one observation.

Parameters

array $observation

Scalars the caller already had in hand. A tripwire reads from this and nothing else.

Returns

\Drupal\strata\Health\Finding|null —

A finding when the symptom is present, or NULL when the check is satisfied.