ソースを参照

Implement DirCacheEntry.toString() to ease debugging

Change-Id: I9aa1b5817a18fb340411f47b25b6711d533590fd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v1.2.0.201112221803-r
Matthias Sohn 12年前
コミット
899a3ccf6d
1個のファイルの変更10行の追加0行の削除
  1. 10
    0
      org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java

+ 10
- 0
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java ファイルの表示

return toString(path); return toString(path);
} }


/**
* Use for debugging only !
*/
@Override
public String toString() {
return getFileMode() + " " + getLength() + " " + getLastModified()
+ " " + getObjectId() + " " + getStage() + " "
+ getPathString() + "\n";
}

/** /**
* Copy the ObjectId and other meta fields from an existing entry. * Copy the ObjectId and other meta fields from an existing entry.
* <p> * <p>

読み込み中…
キャンセル
保存