Skip to main content

create_commit

Function create_commit 

Source
pub fn create_commit(
    obj_store: &GitObjectStore,
    commits_table: &mut CommitsTable,
    parent_ids: Vec<String>,
    message: &str,
    author: &str,
) -> Result<Commit>
Expand description

Create a commit: snapshot all namespaces to Parquet, record in CommitsTable.

Returns the new Commit.