MCPcopy Create free account
hub / github.com/libgit2/pygit2 / _repository_create_cb

Function _repository_create_cb

pygit2/callbacks.py:615–621  ·  view source on GitHub ↗
(repo_out, path, bare, data)

Source from the content-addressed store, hash-verified

613
614@libgit2_callback
615def _repository_create_cb(repo_out, path, bare, data):
616 repository = data.repository(ffi.string(path), bare != 0)
617 # we no longer own the C object
618 repository._disown()
619 repo_out[0] = repository._repo
620
621 return 0
622
623
624@libgit2_callback

Callers

nothing calls this directly

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…