~/bend-docscommunity

src/CrashPointPolicy.bend checks

raw source on the hub · import mylsm-lsm-store@0.4.0.0/src/CrashPointPolicy.bend as CrashPointPolicy

1 import
import Base

Definitions

def nonempty source · line 5 · raw

@value:String -> Bool

Pure checkpoint policy. An unset value is represented by the empty string; the non-empty guard distinguishes disabled injection from an exact match.

def enabled source · line 11 · raw

@+configured:String -> @requested:String -> Bool

Handle enabled in the crash injection policy.