We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44a6eb0 + bcc08b1 commit 6fb0b9cCopy full SHA for 6fb0b9c
lib/Gitlab/Model/Project.php
@@ -522,6 +522,17 @@ public function blob($sha, $filepath)
522
return $this->api('repo')->blob($this->id, $sha, $filepath);
523
}
524
525
+ /**
526
+ * @param $sha
527
+ * @param $filepath
528
+ *
529
+ * @return array
530
+ */
531
+ public function getFile($sha, $filepath)
532
+ {
533
+ return $this->api('repo')->getFile($this->id, $filepath, $sha);
534
+ }
535
+
536
/**
537
* @param string $file_path
538
* @param string $content
0 commit comments