Class DfsStreamKey
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.dfs.DfsStreamKey
-
public abstract class DfsStreamKey extends Object
Key used byDfsBlockCache
to disambiguate streams.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DfsStreamKey(int hash, PackExt ext)
Constructor for DfsStreamKey.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
equals(Object o)
int
hashCode()
static DfsStreamKey
of(DfsRepositoryDescription repo, String name, PackExt ext)
Create aDfsStreamKey
String
toString()
-
-
-
Method Detail
-
of
public static DfsStreamKey of(DfsRepositoryDescription repo, String name, @Nullable PackExt ext)
Create aDfsStreamKey
- Parameters:
repo
- description of the containing repository.name
- compute the key from a string name.ext
- pack file extension, ornull
.- Returns:
- key for
name
-
-