Skip to content
Snippets Groups Projects
Commit 7a06b3b1 authored by brinn's avatar brinn
Browse files

add: convenience method to suppress using the native libraries

SVN: 7453
parent 7e8bd3c4
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,13 @@ public class FastRecursiveHardLinkMaker implements IImmutableCopier ...@@ -54,6 +54,13 @@ public class FastRecursiveHardLinkMaker implements IImmutableCopier
private final IDirectoryImmutableCopier fastDirectoryCopierOrNull; private final IDirectoryImmutableCopier fastDirectoryCopierOrNull;
public final static IImmutableCopier tryCreate(final File rsyncExecutable,
boolean neverUseNative)
{
return tryCreate(rsyncExecutable, DEFAULT_INACTIVITY_TRESHOLD_MILLIS, DEFAULT_MAX_ATTEMPTS,
DEFAULT_TIME_TO_SLEEP_AFTER_COPY_FAILS, neverUseNative);
}
public final static IImmutableCopier tryCreate(final File rsyncExecutable) public final static IImmutableCopier tryCreate(final File rsyncExecutable)
{ {
return tryCreate(rsyncExecutable, DEFAULT_INACTIVITY_TRESHOLD_MILLIS, DEFAULT_MAX_ATTEMPTS, return tryCreate(rsyncExecutable, DEFAULT_INACTIVITY_TRESHOLD_MILLIS, DEFAULT_MAX_ATTEMPTS,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment