Expand description
Commit objects and the detached metadata of a commit.
Transaction::write_commitstages a commit object over a root tree, with the options inCommitOptions.Transaction::check_relatedchecks the dependencies of a new commit before the tree is built, and gives aCheckedRelated.Transaction::write_commit_checkedstages the commit with these dependencies and does not check them again.Repo::read_commit_detached_metadataandRepo::write_commit_detached_metadataread and write the detached metadata of a commit.Repo::read_commit_relatedreads the related commits of a commit: the dependencies and the build sources.Repo::add_detached_relatedadds a build source to a commit.
Structs§
- Checked
Related - The dependencies of a new commit, after the checks of
Transaction::check_related. - Commit
Options - The options of
Transaction::write_commitandTransaction::write_commit_checked.
Functions§
- commit_
metadata - Returns the
a{sv}metadata dict of a new commit.