def ups

bolt@1.27.0.0 · src/rules.bend:130

import bolt@1.27.0.0/src/rules.bend as Rules
import Base
import bolt@1.27.0.0/src/rules/imports.bend as Imports

130# a directory and each of its parents but ``, nearest first: `a/b/` is
131# `a/b/` then `a/`
132def ups(dir: String) -> List<&2, String>:
133  ups.go(List.reverse(&2, String, Imports.init(String.split(dir, '/'))))

Uses (7)

Used by (1)