Gitlab\Api\Repositories::updateFile PHP Méthode

updateFile() public méthode

public updateFile ( integer $project_id, string $file_path, string $content, string $branch_name, string $commit_message, string $encoding = null ) : mixed
$project_id integer
$file_path string
$content string
$branch_name string
$commit_message string
$encoding string
Résultat mixed
    public function updateFile($project_id, $file_path, $content, $branch_name, $commit_message, $encoding = null)
    {
        return $this->put($this->getProjectPath($project_id, 'repository/files'), array('file_path' => $file_path, 'branch_name' => $branch_name, 'content' => $content, 'commit_message' => $commit_message, 'encoding' => $encoding));
    }