if(fc.isDirectory()) head.append("D");
else head.append(" ");
if(fc.isNew()) {
CompositeName absname = root.absolutize(fname);
head.append("+ ").append(absname);
if(cb!=null) cb.fileAdded(absname, fc);
System.out.println(head);
//System.out.print("+");
//if(fc.isMissing())
// System.out.print("-");
//if(fc.isDirectory()) {
// System.out.println("D");
//} else {
// System.out.println();
//}
} else if(fc.isMissing()) {
//System.out.print("-");
CompositeName absname = root.absolutize(fname);
head.append("- ").append(absname);
if(cb!=null) cb.fileRemoved(absname, fc);
System.out.println(head);
//if(fc.isDirectory()) {
// System.out.println("D");
//} else {
// System.out.println();
//}
} else {
//if(fc.isDirectory())
// System.out.print("D");
CompositeName absname = root.absolutize(fname);
head.append(fc.isContentDiff() ? " C " : " ");
int mod=fc.compareLastModified();
//if(mod<0) System.out.print(" < lastModified ");