public interface LargeFileRepository
Modifier and Type | Method and Description |
---|---|
Response.Action |
getDownloadAction(AnyLongObjectId id)
Get download action
|
long |
getSize(AnyLongObjectId id)
Get size of an object
|
Response.Action |
getUploadAction(AnyLongObjectId id,
long size)
Get upload action
|
Response.Action |
getVerifyAction(AnyLongObjectId id)
Get verify action
|
Response.Action getDownloadAction(AnyLongObjectId id)
id
- id of the object to downloadResponse.Action getUploadAction(AnyLongObjectId id, long size)
id
- id of the object to uploadsize
- size of the object to be uploaded@Nullable Response.Action getVerifyAction(AnyLongObjectId id)
id
- id of the object to be verifiednull
if the server
doesn't support or require verificationlong getSize(AnyLongObjectId id) throws IOException
id
- id of the objectIOException
Copyright © 2019 Eclipse JGit Project. All rights reserved.