public class NoOpCmdLineInterface extends Object implements VersionControlCmdLineInterface
| Constructor and Description |
|---|
NoOpCmdLineInterface() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<String> |
changedFiles(String fromRevisionId) |
String |
currentRevisionId() |
Optional<VersionControlSupplier<InputStream>> |
diffBetweenRevisions(String baseRevision,
String tipRevision) |
com.facebook.buck.util.versioncontrol.FastVersionControlStats |
fastVersionControlStats() |
boolean |
isSupportedVersionControlSystem() |
public boolean isSupportedVersionControlSystem()
isSupportedVersionControlSystem in interface VersionControlCmdLineInterfacepublic String currentRevisionId() throws VersionControlCommandFailedException
public Optional<VersionControlSupplier<InputStream>> diffBetweenRevisions(String baseRevision, String tipRevision) throws VersionControlCommandFailedException
diffBetweenRevisions in interface VersionControlCmdLineInterfaceVersionControlSupplier of the input stream of the diff between two revisions or
Optional.empty()VersionControlCommandFailedExceptionpublic com.google.common.collect.ImmutableSet<String> changedFiles(String fromRevisionId) throws VersionControlCommandFailedException
changedFiles in interface VersionControlCmdLineInterfaceVersionControlCommandFailedExceptionpublic com.facebook.buck.util.versioncontrol.FastVersionControlStats fastVersionControlStats()
throws VersionControlCommandFailedException
fastVersionControlStats in interface VersionControlCmdLineInterfaceVersionControlCommandFailedException