def hit.ups
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
import ezx@1.11.0.0/src/pkg/path.bend as P
1117# how far a found file climbs out of the entry's directory
1118def hit.ups(item: Hit) -> Nat:
1119 Hit{raw, _text} = item
1120 P.ups(raw)