storing objects in git-lfs is working
Still need to record the sha256 and size when they cannot be determined by inspecting the key.
This commit is contained in:
parent
6c1130a3bb
commit
fc09a41ed1
3 changed files with 104 additions and 4 deletions
|
@ -381,9 +381,12 @@ downloadOperationRequest = operationParamsRequest . download
|
|||
-- | Builds http request to perform an upload. The content to upload is
|
||||
-- provided in the RequestBody, along with its SHA256 and size.
|
||||
--
|
||||
-- If the LFS server requested verification, there will be a second
|
||||
-- When the LFS server requested verification, there will be a second
|
||||
-- Request that does that; it should be run only after the upload has
|
||||
-- succeeded.
|
||||
--
|
||||
-- When the LFS server already contains the object, an empty list will be
|
||||
-- returned.
|
||||
uploadOperationRequests :: UploadOperation -> RequestBody -> SHA256 -> Integer -> Maybe [Request]
|
||||
uploadOperationRequests op content oid size =
|
||||
case (mkdlreq, mkverifyreq) of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue