| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Simplex.FileTransfer.Client.Main
Documentation
data SendOptions Source #
Constructors
| SendOptions | |
Fields
| |
Instances
| Show SendOptions Source # | |
Defined in Simplex.FileTransfer.Client.Main Methods showsPrec :: Int -> SendOptions -> ShowS show :: SendOptions -> String showList :: [SendOptions] -> ShowS | |
Constructors
| CLIError String |
Instances
| Exception CLIError Source # | |
Defined in Simplex.FileTransfer.Client.Main Methods toException :: CLIError -> SomeException fromException :: SomeException -> Maybe CLIError displayException :: CLIError -> String | |
| Show CLIError Source # | |
| Eq CLIError Source # | |
xftpClientCLI :: IO () Source #
cliSendFile :: SendOptions -> ExceptT CLIError IO () Source #
cliSendFileOpts :: SendOptions -> Bool -> (Int64 -> Int64 -> IO ()) -> ExceptT CLIError IO () Source #
singleChunkSize :: Int64 -> Maybe Word32 Source #
prepareChunkSizes :: Int64 -> [Word32] Source #
prepareChunkSpecs :: FilePath -> [Word32] -> [XFTPChunkSpec] Source #
getChunkDigest :: XFTPChunkSpec -> IO ByteString Source #