pub async fn read_ref<S: NamespaceStore>(
store: &S,
p: &Partition,
repo: &RepoName,
name: &str,
) -> Result<Option<Hash>, StoreError>Expand description
A ref’s id, if it exists.
pub async fn read_ref<S: NamespaceStore>(
store: &S,
p: &Partition,
repo: &RepoName,
name: &str,
) -> Result<Option<Hash>, StoreError>A ref’s id, if it exists.