def need_lookup

cswap-bend-cli@0.1.0.0 · swlive.bend:242

import cswap-bend-cli@0.1.0.0/swlive.bend as Swlive
import Base
import cswap-bend-cli@0.1.0.0/swbase.bend as B
import cswap-bend-cli@0.1.0.0/swcreds.bend as C
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase

242def need_lookup(+slot: Maybe<&2, String>, +live: String, +backup: String) -> Bool:
243  B.is_some_str(slot) && SBase.nonempty(live) && Bool.not(String.eq(backup, live)) && Bool.not(C.same_lineage(backup, live))

Uses (9)

Used by (1)