cargo
1.77.2
(25ef9e3d8 2024-04-09) (built from a source tarball)
In cargo::sources::git::utils
?
Function
cargo
::
sources
::
git
::
utils
::
is_short_hash_of
source
·
[
−
]
fn is_short_hash_of(rev: &
str
, oid:
Oid
) ->
bool
Expand description
Whether
rev
is a shorter hash of
oid
.