mirror of
				https://github.com/sitelease/sugar-cube-client.git
				synced 2025-10-31 12:02:30 +01:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| dbdff87baf | 
| @ -149,7 +149,7 @@ class Repositories extends AbstractAllApiRequester | ||||
|      * | ||||
|      * Example: | ||||
|      * ``` | ||||
|      * $client->repositories()->getRawFile($owner, $repoName, "README.md", "v2.0.0"); | ||||
|      * $client->repositories()->getFileContents($owner, $repoName, "README.md", "v2.0.0"); | ||||
|      * ``` | ||||
|      * | ||||
|      * @param string $owner The owner of the repository | ||||
|  | ||||
| @ -82,7 +82,7 @@ if ($repository) { | ||||
| } | ||||
|  | ||||
| // print("Getting contents of \"composer.json\" file \n\n"); | ||||
| // $rawFile = $giteaClient->repositories()->getRawFile("Sitelease", "sl-theme-recipe", "composer.json"); | ||||
| // $rawFile = $giteaClient->repositories()->getFileContents("Sitelease", "sl-theme-recipe", "composer.json"); | ||||
| // if ($rawFile) { | ||||
| //     var_dump(json_encode($rawFile)); | ||||
| //     print("\n\n"); | ||||
| @ -91,7 +91,7 @@ if ($repository) { | ||||
| // } | ||||
|  | ||||
| // print("Getting contents of \"composer.json\" file \n\n"); | ||||
| // $rawFile = $giteaClient->repositories()->getRawFile("Sitelease", "sl-theme-recipe", "composer.json"); | ||||
| // $rawFile = $giteaClient->repositories()->getFileContents("Sitelease", "sl-theme-recipe", "composer.json"); | ||||
| // if ($rawFile) { | ||||
| //     var_dump($rawFile); | ||||
| //     print("\n\n"); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	