comparison src/org/tmatesoft/hg/internal/Filter.java @ 113:67ae317408c9

Filter implementation for newline translation
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 02 Feb 2011 21:19:02 +0100
parents d488c7638b87
children 46291ec605a0
comparison
equal deleted inserted replaced
112:d488c7638b87 113:67ae317408c9
29 public interface Filter { 29 public interface Filter {
30 30
31 ByteBuffer filter(ByteBuffer src); 31 ByteBuffer filter(ByteBuffer src);
32 32
33 interface Factory { 33 interface Factory {
34 Filter create(HgRepository hgRepo, Path path); 34 Filter create(HgRepository hgRepo, Path path, Options opts);
35 }
36
37 enum Direction {
38 FromRepo, ToRepo
39 }
40
41 abstract class Options {
42 abstract Direction getDirection();
35 } 43 }
36 } 44 }