cargo
1.84.0-dev
In cargo::
sources::
git::
utils
Structs
GitCheckout
GitDatabase
GitRemote
GitShortID
Enums
FastPathRev
Constants
CHECKOUT_READY_LOCK
Functions
absolute_submodule_url
clean_repo_temp_files
fetch
fetch_with_cli
github_fast_path
has_shallow_lock_file
init
is_github
is_short_hash_of
looks_like_commit_hash
maybe_gc_repo
reinitialize
reset
resolve_ref
rev_to_oid
serialize_str
with_authentication
with_fetch_options
cargo
::
sources
::
git
::
utils
Function
is_short_hash_of
Copy item path
Settings
Help
Summary
Source
fn is_short_hash_of(rev: &
str
, oid:
Oid
) ->
bool
Expand description
Whether
rev
is a shorter hash of
oid
.