public interface FileApi
Modifier and Type | Interface and Description |
---|---|
static class |
FileApi.DiffRequest |
static class |
FileApi.NotImplemented
A default implementation which allows source compatibility when adding new methods to the
interface.
|
Modifier and Type | Method and Description |
---|---|
BinaryResult |
content() |
DiffInfo |
diff()
Diff against the revision's parent version of the file.
|
DiffInfo |
diff(int parent) |
DiffInfo |
diff(java.lang.String base) |
FileApi.DiffRequest |
diffRequest()
Creates a request to retrieve the diff.
|
BinaryResult content() throws RestApiException
RestApiException
DiffInfo diff() throws RestApiException
RestApiException
DiffInfo diff(java.lang.String base) throws RestApiException
base
- revision id of the revision to be used as the diff baseRestApiException
DiffInfo diff(int parent) throws RestApiException
parent
- 1-based parent number to diff againstRestApiException
FileApi.DiffRequest diffRequest() throws RestApiException
RestApiException