Swrun.activate_files: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/swrun.bend as Swrun Lines 69-73 of cswap-bend-cli@0.1.0.0/swrun.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/swrun.bend&start_line=69&end_line=73 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/act.bend as Act import cswap-bend-cli@0.1.0.0/swcreds.bend as C import cswap-bend-cli@0.1.0.0/swlive.bend as L import cswap-bend-cli@0.1.0.0/store/base.bend as SBase def activate_files(+ctx: SBase.Ctx, +ts: String, +l: L.Live, +oauth: Json.Json, +tcreds: String, +tcfg: Json.Json) -> Act.of(Unit): do ActM: L.write_live_creds(ctx, C.prepare_activation(tcreds, L.lv_creds(l))) live_salvage(ctx, ts, l) L.write_cfg(ctx, new_config(l, oauth, tcreds, tcfg)) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/act.bend&name=of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=Ctx https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swcreds.bend&name=prepare_activation https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swlive.bend&name=Live https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swlive.bend&name=lv_creds https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swlive.bend&name=write_cfg https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swlive.bend&name=write_live_creds https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swrun.bend&name=ActM https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swrun.bend&name=ActM.bind https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swrun.bend&name=live_salvage https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swrun.bend&name=new_config