Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgRepository.java @ 289:086a326f181f
Provide public access to ignored files configuration to use in alternative file walkers
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 12 Sep 2011 14:11:45 +0200 |
parents | 7232b94f2ae3 |
children | a415fe296a50 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepository.java Sat Sep 10 00:18:39 2011 +0200 +++ b/src/org/tmatesoft/hg/repo/HgRepository.java Mon Sep 12 14:11:45 2011 +0200 @@ -276,8 +276,11 @@ return new HgDirstate(this, new File(repoDir, "dirstate"), pathPool); } - // package-local, see comment for loadDirstate - /*package-local*/ final HgIgnore getIgnore() { + /** + * Access to configured set of ignored files. + * @see HgIgnore#isIgnored(Path) + */ + public HgIgnore getIgnore() { // TODO read config for additional locations if (ignore == null) { ignore = new HgIgnore();