Ggit.Repository.lookup_blob

### Method

# Ggit Repositorylookup_blob

#### Declaration [src]

    GgitBlob*
    ggit_repository_lookup_blob (
      GgitRepository* repository,
      GgitOId* oid,
      GError** error
    )

#### Description [src]

Lookups a branch by its name in a repository.

#### Parameters

`oid` | `GgitOId`
| A `GgitOId`.
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `GgitBlob`
| A `GgitBlog` pointer.
| The caller of the method takes ownership of the data, and is responsible for freeing it.
| The return value can be `NULL`.