@Incubating public interface VersionControlSystem
| Modifier and Type | Method and Description |
|---|---|
Set<VersionRef> |
getAvailableVersions(VersionControlSpec spec)
Returns a
Set of VersionRefs representing
versions of a software package as they are known to the version
control system. |
File |
populate(File versionDir,
VersionRef ref,
VersionControlSpec spec)
Populates a working directory under
versionDir with the latest
state of the version control repository from the spec and
returns the working directory. |
Set<VersionRef> getAvailableVersions(VersionControlSpec spec)
Set of VersionRefs representing
versions of a software package as they are known to the version
control system.File populate(File versionDir, VersionRef ref, VersionControlSpec spec)
versionDir with the latest
state of the version control repository from the spec and
returns the working directory.