def label
import ezx@1.11.0.0/src/share/say.bend as Sayimport Base
import ezx@1.11.0.0/src/pkg/path.bend as P
47# what a line calls a package
48def label(+hash: String, +entry: String) -> String:
49 +name = P.unbend(P.base(entry))
50 label.go(String.is_empty(name), hash, name)