Mercurial > hg4j
diff 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 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/Filter.java Tue Feb 01 00:21:08 2011 +0100 +++ b/src/org/tmatesoft/hg/internal/Filter.java Wed Feb 02 21:19:02 2011 +0100 @@ -31,6 +31,14 @@ ByteBuffer filter(ByteBuffer src); interface Factory { - Filter create(HgRepository hgRepo, Path path); + Filter create(HgRepository hgRepo, Path path, Options opts); + } + + enum Direction { + FromRepo, ToRepo + } + + abstract class Options { + abstract Direction getDirection(); } }