File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313use ApiClients \Client \Github \CommandBus \Command \Repository \CommunityHealthCommand ;
1414use ApiClients \Client \Github \CommandBus \Command \Repository \Contents \FileUploadCommand ;
1515use ApiClients \Client \Github \CommandBus \Command \Repository \ContentsCommand ;
16+ use ApiClients \Client \Github \CommandBus \Command \Repository \DetailedCommitCommand ;
1617use ApiClients \Client \Github \CommandBus \Command \Repository \LabelsCommand ;
1718use ApiClients \Client \Github \CommandBus \Command \Repository \LanguagesCommand ;
1819use ApiClients \Client \Github \CommandBus \Command \Repository \RefCommand ;
@@ -61,6 +62,16 @@ public function commits(): ObservableInterface
6162 ));
6263 }
6364
65+ public function specificCommit (string $ sha ): PromiseInterface
66+ {
67+ return $ this ->handleCommand (
68+ new DetailedCommitCommand (
69+ $ this ->fullName (),
70+ $ sha
71+ )
72+ );
73+ }
74+
6475 public function labels (): ObservableInterface
6576 {
6677 return unwrapObservableFromPromise ($ this ->handleCommand (
You can’t perform that action at this time.
0 commit comments