Skip to main content

read_blob

Function read_blob 

Source
pub fn read_blob(repo: &Path, sha: &str) -> Result<Vec<u8>, SyncError>
Expand description

Reads the bytes of a blob by its object SHA.

Runs git cat-file blob <sha>.