def directory
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K
87# a directory's node, its entries in the order given
88def directory(es: List<&2, K.Item>) -> String:
89 str("(") ++ str("type") ++ str("directory") ++ entries(es) ++ str(")")