batch: Send a batch request to the LFS server

Description Usage Arguments Value

View source: R/batch.R

Description

Send a batch request to the LFS server

Usage

1
batch(prefix, objects, token, transfers, headers = c())

Arguments

prefix

character. The lfs prefix in the form organization/repo

objects

list. A list of objects containing oid and size for each one.

token

character. An authorization token.

transfers

character vector. A vector containing the transfer methods to be negotiated with the server.

headers

named character vector. Values to be added to the headers of the batch request to the LFS server..

Value

List with upload specifications for the given objects


datopian/giftlessclient documentation built on Jan. 29, 2021, 3:40 p.m.