Package org.eclipse.jgit.gitrepo
Class RepoProject.CopyFile
- java.lang.Object
-
- org.eclipse.jgit.gitrepo.RepoProject.ReferenceFile
-
- org.eclipse.jgit.gitrepo.RepoProject.CopyFile
-
- Enclosing class:
- RepoProject
public static class RepoProject.CopyFile extends RepoProject.ReferenceFile
The representation of a copy file configuration.
-
-
Constructor Summary
Constructors Constructor Description CopyFile(Repository repo, String path, String src, String dest)
-
-
-
Constructor Detail
-
CopyFile
public CopyFile(Repository repo, String path, String src, String dest)
- Parameters:
repo
- the super project.path
- the path of the project containing this copyfile config.src
- the source path relative to the sub repo.dest
- the destination path relative to the super project.
-
-
Method Detail
-
copy
public void copy() throws IOException
Do the copy file action.- Throws:
IOException
-
-