Mercurial > jhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
225:fad70a9e6c7f | 226:26ad7827a62d |
---|---|
68 | 68 |
69 public File file() { | 69 public File file() { |
70 return nextFile; | 70 return nextFile; |
71 } | 71 } |
72 | 72 |
73 public boolean inScope(Path file) { | |
74 return true; // no limits, all files are of interest | |
75 } | |
76 | |
73 private File[] listFiles(File f) { | 77 private File[] listFiles(File f) { |
74 // in case we need to solve os-related file issues (mac with some encodings?) | 78 // in case we need to solve os-related file issues (mac with some encodings?) |
75 return f.listFiles(); | 79 return f.listFiles(); |
76 } | 80 } |
77 | 81 |