public static class ChangeEdits.DeleteContent extends java.lang.Object implements com.google.gerrit.extensions.restapi.RestModifyView<ChangeEditResource,ChangeEdits.DeleteContent.Input>
This deletes the file from the repository completely. This is not the same as reverting or restoring a file to its previous contents.
Modifier and Type | Class and Description |
---|---|
static class |
ChangeEdits.DeleteContent.Input |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.restapi.Response<?> |
apply(ChangeEditResource rsrc,
ChangeEdits.DeleteContent.Input input) |
public com.google.gerrit.extensions.restapi.Response<?> apply(ChangeEditResource rsrc, ChangeEdits.DeleteContent.Input input) throws com.google.gerrit.extensions.restapi.AuthException, com.google.gerrit.extensions.restapi.ResourceConflictException
apply
in interface com.google.gerrit.extensions.restapi.RestModifyView<ChangeEditResource,ChangeEdits.DeleteContent.Input>
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.extensions.restapi.ResourceConflictException