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

Method write

test/test_refdb_backend.py:52–61  ·  view source on GitHub ↗
(
        self,
        ref: Reference,
        force: bool,
        who: Signature,
        message: str,
        old: None | str | Oid,
        old_target: None | str,
    )

Source from the content-addressed store, hash-verified

50 return self.source.lookup(ref)
51
52 def write(
53 self,
54 ref: Reference,
55 force: bool,
56 who: Signature,
57 message: str,
58 old: None | str | Oid,
59 old_target: None | str,
60 ) -> None:
61 return self.source.write(ref, force, who, message, old, old_target)
62
63 def rename(
64 self, old_name: str, new_name: str, force: bool, who: Signature, message: str

Callers 1

test_writeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected