Description Usage Arguments Value
Upload a file to LFS storage
1 2 3 4 5 6 7 8 | lfs_upload(
file_path,
repo,
dataset,
token,
transfers = c("multipart-basic", "basic"),
headers = c()
)
|
file_path |
character. The path of the file to be uploaded. |
repo |
character. The name of repository where the dataset lives. |
dataset |
character. The name of the dataset where the file is gonna be uploaded. |
token |
character. 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. |
list with sha256 and size of the object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.