Files.mkdir_all: def of bend-kit-files@0.3.1.0 Import: import bend-kit-files@0.3.1.0/files.bend as Files Lines 301-307 of bend-kit-files@0.3.1.0/files.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-files@0.3.1.0/files.bend&start_line=301&end_line=307 import Base # Creates the directory and any missing parents. Succeeds when it is # already a directory; fails if a component is not a directory. def mkdir_all(+path: String) -> IO(Result<&1, &1, U32 & String, Unit>): mkdir_all.go( List.filter(~String, ~(n => Bool.not(String.eq(n, ""))), String.split(path, '/')), Bool.pick(String, path.is_absolute(path), "/", ".")) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.filter https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.split https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-kit-files@0.3.1.0/files.bend&name=mkdir_all.go https://jend.leeeet.dev/definition.txt?path=bend-kit-files@0.3.1.0/files.bend&name=path.is_absolute