dulwich.objectspec
module documentationdulwich
Function | to_bytes | Undocumented |
Function | parse_object | Parse a string referring to an object. |
Function | parse_tree | Parse a string referring to a tree. |
Function | parse_ref | Parse a string referring to a reference. |
Function | parse_reftuple | Parse a reftuple spec. |
Function | parse_reftuples | Parse a list of reftuple specs to a list of reftuples. |
Function | parse_refs | Parse a list of refspecs to a list of refs. |
Function | parse_commit_range | Parse a string referring to a range of commits. |
Function | parse_commit | Parse a string referring to a single commit. |
Parameters | repo | A Repo object |
objectish | A string referring to an object | |
Returns | A git object | |
Raises | KeyError | If the object can not be found |
Parameters | repo | A Repo object |
treeish | A string referring to a tree | |
Returns | A git object | |
Raises | KeyError | If the object can not be found |
Parameters | container | A RefsContainer object |
refspec | A string referring to a ref | |
Returns | A ref | |
Raises | KeyError | If the ref can not be found |
Parameters | lh_container | A RefsContainer object |
hh_container | A RefsContainer object | |
refspec | A string | |
Returns | A tuple with left and right ref | |
Raises | KeyError | If one of the refs can not be found |
Parameters | lh_container | A RefsContainer object |
hh_container | A RefsContainer object | |
refspecs | A list of refspecs or a string | |
Returns | A list of refs | |
Raises | KeyError | If one of the refs can not be found |
Parameters | container | A RefsContainer object |
refspecs | A list of refspecs or a string | |
Returns | A list of refs | |
Raises | KeyError | If one of the refs can not be found |