| Modifier and Type | Field and Description |
|---|---|
| private final Path | |
| private static final char[] | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | FileLfsRepository(String
external URL of this repository url, Path storage directory dir)Constructor for FileLfsRepository. |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private Response. | |
| public Path | |
| public Response. | getDownloadAction(AnyLongObjectId
id of the object to download id)Implements org. Get download action |
| pack-priv AtomicObjectOutputStream | |
| protected Path | Returns: path the object's storage pathid of a large object id)Get the path where the given object is stored |
| pack-priv ReadableByteChannel | |
| public long | getSize(AnyLongObjectId
id of the object id)Implements org. Get size of an object |
| public Response. | getUploadAction(AnyLongObjectId
id of the object to upload id, long size of the object to be uploaded size)Implements org. Get upload action |
| public String | |
| public Response. | getVerifyAction(AnyLongObjectId
id of the object to be verified id)Implements org. Get verify action |
| public void | |
| private static char[] |
| dir | back to summary |
|---|---|
| private final Path dir | |
| hexchar | back to summary |
|---|---|
| private static final char[] hexchar | |
| url | back to summary |
|---|---|
| private String url | |
| FileLfsRepository | back to summary |
|---|---|
| public FileLfsRepository(String url, Path dir) throws IOException Constructor for FileLfsRepository.
| |
| formatHexChar | back to summary |
|---|---|
| private static void formatHexChar(char[] dst, int p, int b) | |
| getAction | back to summary |
|---|---|
| private Response. | |
| getDir | back to summary |
|---|---|
| public Path getDir() Get the storage directory
| |
| getDownloadAction | back to summary |
|---|---|
| public Response. Implements org. Doc from org. Get download action
| |
| getOutputStream | back to summary |
|---|---|
| pack-priv AtomicObjectOutputStream getOutputStream(AnyLongObjectId id) throws IOException | |
| getPath | back to summary |
|---|---|
| protected Path getPath(AnyLongObjectId id) Get the path where the given object is stored
| |
| getReadChannel | back to summary |
|---|---|
| pack-priv ReadableByteChannel getReadChannel(AnyLongObjectId id) throws IOException | |
| getSize | back to summary |
|---|---|
| public long getSize(AnyLongObjectId id) throws IOException Implements org. Doc from org. Get size of an object
| |
| getUploadAction | back to summary |
|---|---|
| public Response. Implements org. Doc from org. Get upload action
| |
| getUrl | back to summary |
|---|---|
| public String getUrl() Get URL of content server
| |
| getVerifyAction | back to summary |
|---|---|
| public Response. Implements org. Doc from org. Get verify action
| |
| setUrl | back to summary |
|---|---|
| public void setUrl(String url) Set the URL of the content server
| |
| toHexCharArray | back to summary |
|---|---|
| private static char[] toHexCharArray(int b) | |