]>
git.argeo.org Git - gpl/argeo-slc.git/blob - VersioningDriver.java
f652c56543cb8ed1dd65149c8af1fb7f4d4ea80c
1 package org
.argeo
.slc
.deploy
;
4 import java
.io
.OutputStream
;
7 public interface VersioningDriver
{
8 public void getFileFromRepository(String repositoryBaseUrl
,
9 String location
, OutputStream out
);
11 public List
<String
> getChangedPaths(File repositoryRoot
, Long revision
);
13 public String
getRepositoryRoot(String repositoryUrl
);
15 public String
getRelativePath(String repositoryUrl
);
17 public void updateToHead(File fileOrDir
);
19 public void importFileOrDir(String repositoryUrl
, File fileOrDir
);
21 public void checkout(String repositoryUrl
, File destDir
, Boolean recursive
);
23 public void createRepository(String filePath
);
25 public void commit(File fileOrDir
, String commitMessage
);