def archive_slot
cswap-bend-cli@0.1.0.0 · store/io.bend:163
import cswap-bend-cli@0.1.0.0/store/io.bend as Io
import Base
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase
163def archive_slot(+root: String, +slot: String, +email: String, +ts: String) -> Act.of(Unit):
164 do ActM<Unit>:
165 archive_dirs(root)
166 archive_mv(root, slot, email, ts)
167 log(root, "INFO", "Archived slot " ++ slot ++ " (" ++ email ++ ") to " ++ SBase.removed_enc_path(root, ts, slot, email) ++ "; credentials are moved aside, never deleted")