fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

traverse

io.dir.traverse

traverse(R:Any,p io.path,descend bool,init R,red_fn Binary R R io.path) => outcome R[src]
traverse a directory with given reducing function

usage example:

Type Parameters

R:Any[src]
the type of the result

Arguments

p io.path[src]
the directory to traverse
descend bool[src]
descend into subdirectories?
init R[src]
the initial result
red_fn Binary R R io.path[src]
the reducing function allowing a premature abort
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23