def root
import bolt@1.26.0.0/src/config.bend as Configimport Base
231# directories, innermost first, as a path from the root ending in `/`
232def root(ds: List<&2, String>, acc: String) -> String:
233 match ds:
234 case Nil{}:
235 "/" ++ acc
236 case Con{d, rest}:
237 root(rest, d ++ "/" ++ acc)