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