Mercurial > hg4j
comparison src/org/tmatesoft/hg/repo/HgStatusInspector.java @ 93:d55d4eedfc57
Switch to Path instead of String in filenames returned by various status operations
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 21:15:21 +0100 |
parents | |
children | a3a2e5deb320 |
comparison
equal
deleted
inserted
replaced
92:bf304cb14247 | 93:d55d4eedfc57 |
---|---|
1 /* | |
2 * Copyright (c) 2010-2011 TMate Software Ltd | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; version 2 of the License. | |
7 * | |
8 * This program is distributed in the hope that it will be useful, | |
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 * GNU General Public License for more details. | |
12 * | |
13 * For information on how to redistribute this software under | |
14 * the terms of a license other than GNU General Public License | |
15 * contact TMate Software at support@svnkit.com | |
16 */ | |
17 package org.tmatesoft.hg.repo; | |
18 | |
19 import org.tmatesoft.hg.core.Path; | |
20 | |
21 /** | |
22 * Callback to get file status information | |
23 * | |
24 * @author Artem Tikhomirov | |
25 * @author TMate Software Ltd. | |
26 */ | |
27 public interface HgStatusInspector { | |
28 void modified(Path fname); | |
29 void added(Path fname); | |
30 // XXX need to specify whether StatusCollector invokes added() along with copied or not! | |
31 void copied(Path fnameOrigin, Path fnameAdded); // if copied files of no interest, should delegate to self.added(fnameAdded); | |
32 void removed(Path fname); | |
33 void clean(Path fname); | |
34 void missing(Path fname); // aka deleted (tracked by Hg, but not available in FS any more | |
35 void unknown(Path fname); // not tracked | |
36 void ignored(Path fname); | |
37 } |