def list_dir
import bend-kit-files@0.3.1.0/files.bend as Filesimport Base
231# Entry names, without "." and "..", sorted.
232def list_dir(path: String) ->
233 IO(Result<&1, &1, U32 & String, List<&2, String>>):
234 do IO<Result<&1, &1, U32 & String, List<&2, String>>>:
235 r : Result<&1, &1, U32 & String, String> <- list_dir.raw(path)
236 return list_dir.fin(r)