added sync folder and file manager
All checks were successful
Locusworks Team/aws-s3-sync/pipeline/head This commit looks good

This commit is contained in:
2020-11-02 20:35:40 -06:00
parent b2a8a83988
commit 572c067b9d
6 changed files with 157 additions and 310 deletions

View File

@@ -1,10 +1,8 @@
package net.locusworks.s3sync.client;
import java.nio.file.Path;
public class FileDetail {
private Path file;
private String file;
private String hash;
private boolean uploaded;
@@ -14,7 +12,7 @@ public class FileDetail {
* @param hash
* @param uploaded
*/
public FileDetail(Path file, String hash, boolean uploaded) {
public FileDetail(String file, String hash, boolean uploaded) {
this.file = file;
this.hash = hash;
this.uploaded = uploaded;
@@ -22,13 +20,13 @@ public class FileDetail {
/**
* @return the file
*/
public synchronized final Path getFile() {
public synchronized final String getFile() {
return file;
}
/**
* @param file the file to set
*/
public synchronized final void setFile(Path file) {
public synchronized final void setFile(String file) {
this.file = file;
}
/**