def prof_push

cswap-bend-cli@0.1.0.0 · profview.bend:188

import cswap-bend-cli@0.1.0.0/profview.bend as Profview
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/profile.bend as P
import cswap-bend-cli@0.1.0.0/daemon/config.bend as Cfg

188def prof_push(+m: Maybe<&2, P.Prof>, +raw: Json.Json, +cfg: Cfg.Cfg, +rest: List<&2, Json.Json>) -> List<&2, Json.Json>:
189  match m:
190    case Some{p}:
191      prof_json(raw, cfg, p) <> rest
192    case None{}:
193      rest

Uses (6)

Used by (1)