def entry.pick
import ezx@1.11.0.0/src/add/hub.bend as Hubimport Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K
232# the entry asked for, or, when none was, the package's own
233def entry.pick(none: Bool, +fs: List<&2, K.Item>, +asked: String) -> String:
234 match none:
235 case True{}:
236 entry.of(fs)
237 case False{}:
238 asked