def pkg_of

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

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

1398# the package an entry file would be published as: every module it reaches,
1399# every foreign body beside them, and the hash over their manifest. A relative
1400# entry's checkout is the working directory, which is the project a command
1401# runs in.
1402def pkg_of(+entry: String) -> IO(Pkg):
1403  pkg.from(String.starts_with(entry, "/"), entry)

Uses (5)

Used by (0)

No other definition uses this definition.