The result of a successful commit operation.
Created during the prepare step of the Gno.Commit.Processor pipeline.
The commit's __id__ is a UUID-based IRI generated automatically.
Fields
time—DateTimewhen the commit was created (prov:endedAtTime)changeset— theGno.EffectiveChangesetthat was applied
Summary
Functions
Creates a new commit from an Gno.EffectiveChangeset or keyword arguments.
Types
Functions
@spec from(Grax.Schema.t()) :: {:ok, t()} | {:error, any()}
@spec from!(Grax.Schema.t()) :: t()
@spec load( RDF.Graph.t() | RDF.Description.t(), RDF.IRI.coercible() | RDF.BlankNode.t(), opts :: keyword() ) :: {:ok, t()} | {:error, any()}
@spec load!( RDF.Graph.t() | RDF.Description.t(), RDF.IRI.coercible() | RDF.BlankNode.t(), opts :: keyword() ) :: t()
Creates a new commit from an Gno.EffectiveChangeset or keyword arguments.
Automatically generates a UUID-based commit ID and sets the timestamp.