minio-hs/examples
Aditya Manthramurthy d59f45fec4
Hlint fixes (#173)
* Hlint fixes

- Will require major version bump as some types were changed from data
  to newtype

* ormolu fixes after hlint
2022-05-27 14:33:05 -07:00
..
BucketExists.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
CopyObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
FileUploader.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
GetConfig.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
GetObject.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
HeadObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
Heal.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
ListBuckets.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
ListIncompleteUploads.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
ListObjects.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
MakeBucket.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
PresignedGetObject.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
PresignedPostPolicy.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
PresignedPutObject.hs Update with changes for ormolu 0.5.0.0 (#171) 2022-05-27 12:07:28 -07:00
PutObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
README.md New release (#140) 2020-01-02 11:23:03 -08:00
RemoveBucket.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
RemoveIncompleteUpload.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
RemoveObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
SelectObject.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
ServerInfo.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
ServiceSendRestart.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
ServiceSendStop.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
ServiceStatus.hs Hlint fixes (#173) 2022-05-27 14:33:05 -07:00
SetConfig.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00

Examples

The examples in this directory illustrate usage of various APIs provided by this library. Each file is self-contained and can be run like a script directly.

To build the examples, the build flag examples needs to be turned on:

stack build --flag minio-hs:examples

Now to run and example script BucketExists.hs:

stack exec BucketExists

The CI system is configured to build these examples with every change, so they should be current.