def folders

near-v-framework@0.4.0.0 · domain/architecture/system/container/ops.bend:169

import near-v-framework@0.4.0.0/domain/architecture/system/container/ops.bend as Ops
import Base

169# A folder and each folder above it, nearest first, ending with the repository root ("").
170def folders(+dir: String) -> List<&2, String>:
171  List.reverse(&2, String, prefixes(filled(String.split(dir, '/')), ""))

Uses (7)

Used by (1)