def license.put
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
793# the LICENSE beside a published file, when the tree holds one, named beside
794# the file's own name in the package
795def license.put(got: Look, +raw: String) -> List<&2, Hit>:
796 match got:
797 case Here{text}:
798 [Hit{raw, text}]
799 case Absent{}:
800 []
801 case Unasked{}:
802 []