* Add comments and notes.

This commit is contained in:
dingguodong
2021-10-27 10:41:03 +08:00
parent e7c337c8b5
commit 0a93db90f2
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -90,10 +90,14 @@ class gitlab
/**
* Get files info.
*
* The API path requested is: "GET /projects/:id/repository/files/:file_path".
* Known issue of GitLab API: if a '%' in 'file_path', GitLab API will show a error 'file_path should be a valid file path'.
*
* @param string $path
* @param string $ref
* @access public
* @return array
* @doc https://docs.gitlab.com/ee/api/repository_files.html
*/
public function files($path, $ref = 'master')
{