Ggit.TreeBuilder.write

### Method

# Ggit TreeBuilderwrite

#### Declaration [src]

    GgitOId*
    ggit_tree_builder_write (
      GgitTreeBuilder* builder
      GError** error
    )

#### Description [src]

Write the contents of the tree builder as a tree object.

#### Return value

Returns: | `GgitOId`
| The `GgitOId` of the created tree object or `NULL`.
| The caller of the method takes ownership of the data, and is responsible for freeing it.
| The return value can be `NULL`.