Skip to content

Commit

Permalink
added path conversion: excludeFrom, includeFrom, filesFrom, logFile, …
Browse files Browse the repository at this point in the history
…passwordFile, writeBatch, onlyWriteBatch, readBatch
  • Loading branch information
fracpete committed May 22, 2017
1 parent 13a538e commit 70d83f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/com/github/fracpete/rsync4j/RSync.java
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ public String getExcludeFrom() {
}

public RSync excludeFrom(String exclude_from) {
this.exclude_from = exclude_from;
this.exclude_from = Binaries.convertPath(exclude_from);
return this;
}

Expand All @@ -1312,7 +1312,7 @@ public String getIncludeFrom() {
}

public RSync includeFrom(String include_from) {
this.include_from = include_from;
this.include_from = Binaries.convertPath(include_from);
return this;
}

Expand All @@ -1321,7 +1321,7 @@ public String getFilesFrom() {
}

public RSync filesFrom(String files_from) {
this.files_from = files_from;
this.files_from = Binaries.convertPath(files_from);
return this;
}

Expand Down Expand Up @@ -1438,7 +1438,7 @@ public String getLogFile() {
}

public RSync logFile(String log_file) {
this.log_file = log_file;
this.log_file = Binaries.convertPath(log_file);
return this;
}

Expand All @@ -1456,7 +1456,7 @@ public String getPasswordFile() {
}

public RSync passwordFile(String password_file) {
this.password_file = password_file;
this.password_file = Binaries.convertPath(password_file);
return this;
}

Expand Down Expand Up @@ -1492,7 +1492,7 @@ public String getWriteBatch() {
}

public RSync writeBatch(String write_batch) {
this.write_batch = write_batch;
this.write_batch = Binaries.convertPath(write_batch);
return this;
}

Expand All @@ -1501,7 +1501,7 @@ public String getOnlyWriteBatch() {
}

public RSync onlyWriteBatch(String only_write_batch) {
this.only_write_batch = only_write_batch;
this.only_write_batch = Binaries.convertPath(only_write_batch);
return this;
}

Expand All @@ -1510,7 +1510,7 @@ public String getReadBatch() {
}

public RSync readBatch(String read_batch) {
this.read_batch = read_batch;
this.read_batch = Binaries.convertPath(read_batch);
return this;
}

Expand Down

0 comments on commit 70d83f9

Please sign in to comment.