databrary-1: Databrary

Safe HaskellNone
LanguageHaskell2010

Controller.Upload

Contents

Synopsis

Documentation

uploadStart :: ActionRoute (Id Volume) Source #

uploadChunk :: ActionRoute () Source #

testChunk :: ActionRoute () Source #

for testing

writeChunk Source #

Arguments

:: Int64

Offset to start writing block into

-> Word64

Length of block to be written

-> RawFilePath

The target file to write into

-> IO ByteString

The data source that provides chunks of data for writing

-> IO Word64

number of bytes written

Write one contiguous block of data to a file