James Moger
2011-04-18 9bc17d16ea48a7978b198126d346828b1d24fe4e
src/com/gitblit/wicket/models/PathModel.java
@@ -2,6 +2,8 @@
import java.io.Serializable;
import org.eclipse.jgit.diff.DiffEntry.ChangeType;
import com.gitblit.utils.JGitUtils;
public class PathModel implements Serializable, Comparable<PathModel> {
@@ -50,4 +52,16 @@
      }
      return 1;
   }
   public static class PathChangeModel extends PathModel {
      private static final long serialVersionUID = 1L;
      public final ChangeType changeType;
      public PathChangeModel(String name, String path, long size, int mode, String commitId, ChangeType type) {
         super(name, path, size, mode, commitId);
         this.changeType = type;
      }
   }
}