- java.lang.Object
-
- org.eclipse.jgit.internal.storage.dfs.DfsStreamKey
-
public abstract class DfsStreamKey extends Object
Key used byDfsBlockCacheto disambiguate streams.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDfsStreamKey(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 booleanequals(Object o)inthashCode()static DfsStreamKeyof(DfsRepositoryDescription repo, String name, PackExt ext)Create aDfsStreamKeyStringtoString()
-
-
-
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
-
-