def ns.lead
import bolt@1.27.0.0/src/lsp/checker/names.bend as Namesimport Base
12# a path without its leading `./`s
13def ns.lead(ss: String) -> String:
14 match ss:
15 case SCon{'.', SCon{'/', tt}}:
16 ns.lead(tt)
17 case other:
18 other