Expose DirCacheEntry.getFileMode as a utility function
commit26c98cad28009af6861d5f9695181f7cc876cf1b
authorShawn O. Pearce <spearce@spearce.org>
Thu, 22 Jan 2009 23:28:03 +0000 (22 15:28 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 23 Jan 2009 22:27:18 +0000 (23 23:27 +0100)
treea92ba9d752d9e783c25a9e665c64589d9787b450
parenta9db7eeb2461194f6ed147cdbb5a26cdae6c276b
Expose DirCacheEntry.getFileMode as a utility function

Its easier to get the FileMode object in some applications than to
get the raw mode and convert it to the FileMode in the application
code.  Its slower, but sometimes you just have to have the proper
FileMode singleton.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/dircache/DirCacheEntry.java