diff src/org/tmatesoft/hg/util/FileWalker.java @ 226:26ad7827a62d

Support status query for a single file or a subdirectory of a repository
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 25 May 2011 12:16:24 +0200
parents 8248aae33f7d
children fffe4f882248
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/util/FileWalker.java	Wed May 25 05:13:43 2011 +0200
+++ b/src/org/tmatesoft/hg/util/FileWalker.java	Wed May 25 12:16:24 2011 +0200
@@ -70,6 +70,10 @@
 		return nextFile;
 	}
 	
+	public boolean inScope(Path file) {
+		return true; // no limits, all files are of interest
+	}
+	
 	private File[] listFiles(File f) {
 		// in case we need to solve os-related file issues (mac with some encodings?)
 		return f.listFiles();