Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method | Description |
---|---|---|
RepositoryFile |
RepositoryFileApi.createFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage) |
Create new file in repository
POST /projects/:id/repository/files
file_path (required) - Full path to new file.
|
RepositoryFile |
RepositoryFileApi.getFile(String filePath,
Integer projectId,
String ref) |
Get file from repository.
|
protected RepositoryFile |
RepositoryFileApi.getFileV3(String filePath,
Integer projectId,
String ref) |
Get file from repository.
|
RepositoryFile |
RepositoryFileApi.updateFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage) |
Update existing file in repository
PUT /projects/:id/repository/files
file_path (required) - Full path to new file.
|
Modifier and Type | Method | Description |
---|---|---|
RepositoryFile |
RepositoryFileApi.createFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage) |
Create new file in repository
POST /projects/:id/repository/files
file_path (required) - Full path to new file.
|
RepositoryFile |
RepositoryFileApi.updateFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage) |
Update existing file in repository
PUT /projects/:id/repository/files
file_path (required) - Full path to new file.
|
Copyright © 2018. All rights reserved.