def pkg.from

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

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

1389# an entry named from the working directory is walked over the working
1390# directory, and one named from the root over the whole file system
1391def pkg.from(abs: Bool, +entry: String) -> IO(Pkg):
1392  match abs:
1393    case True{}:
1394      walk.io("/", String.drop(entry, 1n))
1395    case False{}:
1396      walk.io("", entry)

Uses (6)

Used by (1)