colrev.ops.commit.Commit

class Commit(*, review_manager, msg, manual_author, script_name, saved_args=None, skip_hooks=False)[source]

Bases: object

Create commits

Methods

create

Create a commit (including the commit message and details)

update_report

Update the report

Attributes

ext_script_name

ext_script_version

python_version

git_version

docker_version

last_commit_sha

tree_hash

records_committed

completeness_condition

create(*, skip_status_yaml=False)[source]

Create a commit (including the commit message and details)

Return type:

bool

update_report(*, msg_file)[source]

Update the report

Return type:

None