MCPcopy Create free account
hub / github.com/getsentry/sentry / create_commit

Method create_commit

tests/sentry/utils/test_committers.py:43–49  ·  view source on GitHub ↗
(self, author=None)

Source from the content-addressed store, hash-verified

41 )
42
43 def create_commit(self, author=None):
44 return Commit.objects.create(
45 organization_id=self.organization.id,
46 repository_id=self.repo.id,
47 key=uuid4().hex,
48 author=author,
49 )
50
51 def create_commitfilechange(self, commit=None, filename=None, type=None):
52 return CommitFileChange.objects.create(

Calls 1

createMethod · 0.45

Tested by

no test coverage detected