File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 13
13
use ApiClients \Client \Github \CommandBus \Command \Repository \CommunityHealthCommand ;
14
14
use ApiClients \Client \Github \CommandBus \Command \Repository \Contents \FileUploadCommand ;
15
15
use ApiClients \Client \Github \CommandBus \Command \Repository \ContentsCommand ;
16
+ use ApiClients \Client \Github \CommandBus \Command \Repository \DetailedCommitCommand ;
16
17
use ApiClients \Client \Github \CommandBus \Command \Repository \LabelsCommand ;
17
18
use ApiClients \Client \Github \CommandBus \Command \Repository \LanguagesCommand ;
18
19
use ApiClients \Client \Github \CommandBus \Command \Repository \RefCommand ;
@@ -61,6 +62,16 @@ public function commits(): ObservableInterface
61
62
));
62
63
}
63
64
65
+ public function specificCommit (string $ sha ): PromiseInterface
66
+ {
67
+ return $ this ->handleCommand (
68
+ new DetailedCommitCommand (
69
+ $ this ->fullName (),
70
+ $ sha
71
+ )
72
+ );
73
+ }
74
+
64
75
public function labels (): ObservableInterface
65
76
{
66
77
return unwrapObservableFromPromise ($ this ->handleCommand (
You can’t perform that action at this time.
0 commit comments