def license.under

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

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

1175# whether a path of the package lies under a directory named license
1176def license.under(+at: String) -> Bool:
1177  license.any(String.split(P.dir(at), '/'))

Uses (6)

Used by (1)