Prove.fresh.dir: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/prove.bend as Prove Lines 44-50 of ezx@1.11.0.0/src/ez/prove.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/prove.bend&start_line=44&end_line=50 import Base import snap@1.4.0.0/main.bend as R # a directory emptied and made again, so nothing a run reads was written by the # run before it def fresh.dir(+at: String) -> IO(Unit): do IO: _rm : String <- R.exec(["rm", "-rf", at]) _mk : String <- R.exec(["mkdir", "-p", at]) return Unit{} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=snap@1.4.0.0/main.bend&name=exec