def file_of

ezx@1.11.0.0 · src/pkg/pkg.bend:506

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base
import ezx@1.11.0.0/src/pkg/path.bend as P

506# a found file, placed under whatever the package re-rooted at
507def file_of(+pre: String, hit: Found) -> Item:
508  Found{raw, sum} = hit
509  Item{P.join(pre, raw), sum}

Uses (4)

Used by (1)