public boolean matches(String argument) {
return true;
}
@Override
public StoreFactory createFactory(String[] paths, MigrationDirection direction, MigrationCliArguments arguments) {
<BUG>return new StoreFactory(new SegmentTarFactory(paths[0], arguments.getOptions().isMmap()));
</BUG>
}
@Override
public boolean isSupportLongNames() {

public boolean matches(String argument) {
return argument.startsWith(SEGMENT_OLD_PREFIX);
}
@Override
public StoreFactory createFactory(String[] paths, MigrationDirection direction, MigrationCliArguments arguments) {
String path = removeStart(paths[0], SEGMENT_OLD_PREFIX);
return new StoreFactory(new SegmentFactory(path, arguments.getOptions().isDisableMmap()));
}
@Override
public boolean isSupportLongNames() {
