]> source.dussan.org Git - jgit.git/commit
Add a DfsPackFile method to get the number of cached bytes 43/4543/3
authorDave Borowitz <dborowitz@google.com>
Thu, 3 Nov 2011 19:54:21 +0000 (12:54 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 4 Nov 2011 18:14:32 +0000 (11:14 -0700)
commit4fc1af68501c70407ade42dc13906061939a499c
treea91568df80f61975154397deb62f72396f57f277
parentdff9d56b946552b4a6b802908a22793f95d3738c
Add a DfsPackFile method to get the number of cached bytes

The counter is actually stored in the DfsPackKey so it can be
manipulated by the cache.

Change-Id: I10cee76c92d65c68d1aa1a9dd0c4fd7173c4cede
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsBlockCache.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsPackFile.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsPackKey.java