| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private Collection |
| Access | Constructor and Description |
|---|---|
| public | LfsPrePushHook(Repository
the repository repo, PrintStream not used by this implementation outputStream)
|
| public | LfsPrePushHook(Repository
the repository repo, PrintStream not used by this implementation outputStream, PrintStream not used by this implementation errorStream)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | call()
Overrides org. Implements java. Computes a result, or throws an exception if unable to do so. |
| private void | |
| private static void | |
| private Set | |
| private static long | |
| private static LfsPointer | |
| private List | |
| private String | |
| private Map | |
| public void | setRefs(Collection<RemoteRefUpdate>
a collection of toRefs)RemoteRefUpdatesOverrides org. Set Refs |
| private void | |
| private void |
| EMPTY | back to summary |
|---|---|
| private static final String EMPTY | |
| refs | back to summary |
|---|---|
| private Collection<RemoteRefUpdate> refs | |
| LfsPrePushHook | back to summary |
|---|---|
public LfsPrePushHook(Repository repo, PrintStream outputStream)
| |
| LfsPrePushHook | back to summary |
|---|---|
public LfsPrePushHook(Repository repo, PrintStream outputStream, PrintStream errorStream)
| |
| call | back to summary |
|---|---|
| public String call() throws IOException, AbortedByHookException Overrides org. Implements java. Doc from org. Computes a result, or throws an exception if unable to do so. Run the hook.
| |
| excludeRemoteRefs | back to summary |
|---|---|
| private void excludeRemoteRefs(ObjectWalk walk) throws IOException | |
| findLfsPointers | back to summary |
|---|---|
| private static void findLfsPointers(Set<LfsPointer> toPush, ObjectWalk walk) throws MissingObjectException, IncorrectObjectTypeException, IOException | |
| findObjectsToPush | back to summary |
|---|---|
| private Set | |
| getObjectSize | back to summary |
|---|---|
| private static long getObjectSize(ObjectReader r, RevObject obj) throws IOException | |
| loadLfsPointer | back to summary |
|---|---|
| private static LfsPointer loadLfsPointer(ObjectReader r, AnyObjectId obj) throws IOException | |
| parseObjects | back to summary |
|---|---|
| private List | |
| remote | back to summary |
|---|---|
| private String remote() | |
| requestBatchUpload | back to summary |
|---|---|
| private Map | |
| setRefs | back to summary |
|---|---|
| public void setRefs(Collection<RemoteRefUpdate> toRefs) Overrides org. Doc from org. Set Refs
| |
| uploadContents | back to summary |
|---|---|
| private void uploadContents(HttpConnection api, Map<String, LfsPointer> oid2ptr) throws IOException | |
| uploadFile | back to summary |
|---|---|
| private void uploadFile(Protocol. | |