]> source.dussan.org Git - jgit.git/commit
Expose some DFS APIs as public or protected 79/6979/2
authorShawn O. Pearce <spearce@spearce.org>
Mon, 23 Jul 2012 22:50:52 +0000 (15:50 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 27 Jul 2012 13:59:32 +0000 (06:59 -0700)
commit3534fa9c61e0bcc94075b99e08283bd42bbb21f0
treea7bd06450e41b4f8de38373d785c20e2facfc25c
parent778fdfaec1d1f5b16775264ebf728ee882000154
Expose some DFS APIs as public or protected

Expose class DfsReader and method DfsPackFile.hasObject() as public.
Applications may want to be able to inquire about some details of
the storage of a repository. Make this possible by exposing some
simple accessor methods.

Expose method DfsObjDatabase.clearCache() as protected, allowing
implementing subclasses to dump the cache if necessary, and force
it to reload on a future request.

Change-Id: Ic592c82d45ace9f2fa5f8d7e4bacfdce96dea969
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsObjDatabase.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsPackFile.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsReader.java