def src.rev
import ezx@1.11.0.0/src/lock/lock.bend as Lockimport Base
741# the commit a package is pinned to, or "" when it comes from the hub
742def src.rev(source: Src) -> String:
743 match source:
744 case Hub{}:
745 ""
746 case Git{_u, rev, _e, _ro, _n, _t}:
747 rev
748 case Member{_p, _e}:
749 ""
Uses (2)
Used by (0)
No other definition uses this definition.