Gitlab\Model\Branch::updateFile PHP 메소드

updateFile() 공개 메소드

public updateFile ( string $file_path, string $content, string $commit_message ) : Gitlab\Model\File
$file_path string
$content string
$commit_message string
리턴 Gitlab\Model\File
    public function updateFile($file_path, $content, $commit_message)
    {
        $data = $this->api('repositories')->updateFile($this->project->id, $file_path, $content, $this->name, $commit_message);
        return File::fromArray($this->getClient(), $this->project, $data);
    }