| Modifier and Type | Class and Description |
|---|---|
| public static class | CachedPackUriProvider.
Information about a packfile. |
| Modifier and Type | Method and Description |
|---|---|
| public CachedPackUriProvider. | Returns: if a URI corresponds to the cached pack, an object containing the URI and some other information; null otherwisethe cached pack for which to check if a corresponding URI
exists pack, Collection<String> the protocols that the client has declared support for; if a
URI is returned, it must be of one of these protocols protocolsSupported)Get pack info |
| getInfo | back to summary |
|---|---|
| public CachedPackUriProvider. Get pack info
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public long | Returns: the size of the packfile in bytes (-1 if unknown)Get the size of the packfile in bytes |
| public String |
| hash | back to summary |
|---|---|
| private final String hash | |
| size | back to summary |
|---|---|
| private final long size | |
| uri | back to summary |
|---|---|
| private final String uri | |
| PackInfo | back to summary |
|---|---|
| public PackInfo(String hash, String uri, long size) Constructs an object containing information about a packfile. | |
| getHash | back to summary |
|---|---|
| public String getHash() Get the hash of the packfile
| |
| getSize | back to summary |
|---|---|
| public long getSize() Get the size of the packfile in bytes
| |
| getUri | back to summary |
|---|---|
| public String getUri() Get the URI corresponding to the packfile
| |