def held
import ezx@1.11.0.0/src/ws/pin.bend as Pinimport Base
20# the ref the workspace pins a source at: its tag, or its commit when it has
21# no tag
22def held(+rev: String, +tag: String) -> String:
23 Bool.pick(String, String.is_empty(tag), rev, tag)