blob: 90458414ea43db054b1f29fc077314fdcb4714e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
.. _Git Data service:
Git Data services
=================
**Example**::
from pygithub3 import Github
gh = Github(user='someone', repo='some_repo')
a_blob = gh.git_data.blobs.get('a long sha')
dev_branch = gh.git_data.references.get('heads/add_a_thing')
GitData
-------
.. autoclass:: pygithub3.services.git_data.GitData
:members:
.. attribute:: blobs
:ref:`Blobs service`
.. attribute:: commits
:ref:`Gitdata commits service`
.. attribute:: references
:ref:`References service`
.. attribute:: tags
:ref:`Tags service`
.. attribute:: trees
:ref:`Trees service`
.. _Blobs service:
Blobs
-----
.. autoclass:: pygithub3.services.git_data.Blobs
:members:
.. _Gitdata commits service:
Commits
-------
.. autoclass:: pygithub3.services.git_data.Commits
:members:
.. _References service:
References
----------
.. autoclass:: pygithub3.services.git_data.References
:members:
.. _Tags service:
Tags
----
.. autoclass:: pygithub3.services.git_data.Tags
:members:
.. _Trees service:
Trees
-----
.. autoclass:: pygithub3.services.git_data.Trees
:members:
.. _github commits doc: http://developer.github.com/v3/git/commits
.. _github refs doc: http://developer.github.com/v3/git/refs
.. _github tags doc: http://developer.github.com/v3/git/tags
.. _github trees doc: http://developer.github.com/v3/git/trees
|