Function git_repository::threading::get_ref
source · [−]pub fn get_ref<T>(v: &RwLock<RawRwLock, T>) -> RwLockReadGuard<'_, RawRwLock, T>
Available on crate feature
unstable
only.Expand description
Get a shared reference through a MutableOnDemand
for read-only access.