def beside

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

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

786# the file bend takes along beside every file it publishes: a file named
787# exactly `LICENSE` in the same directory, at the same path in the package.
788# bend 2.0.27 hashes it with the rest, so a package that has one is named
789# with it.
790def beside(+path: String) -> String:
791  P.join(P.dir(path), "LICENSE")

Uses (3)

Used by (4)