def file.save

ezsys@0.1.0.0 · main.bend:26

import ezsys@0.1.0.0/main.bend as Ezsys
import Base
import ezsys@0.1.0.0/src/sys.bend as Sys

26# write `<path>.tmp`, flush it, and rename it over path, so a reader sees
27# the old text or the new, never part of either
28def file.save(
29  path: String,
30  text: String
31) -> IO(Result<&1, &1, U32 & String, Unit>):
32  Sys.sys.save(path, text)

Uses (7)

Used by (0)

No other definition uses this definition.