| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Network.Google.Storage.Sync
Description
Synchronization of filesystem directories with Google Storage buckets.
- type RegexExclusion = String
- sync :: ProjectId -> StorageAcl -> BucketName -> OAuth2Client -> OAuth2Tokens -> FilePath -> [Recipient] -> [RegexExclusion] -> Bool -> Bool -> IO ()
Documentation
type RegexExclusion = String Source
A regular expression used for excluding files from synchronization.
Arguments
| :: ProjectId | The Google project ID. |
| -> StorageAcl | The pre-defined access control. |
| -> BucketName | The bucket name. |
| -> OAuth2Client | The OAuth 2.0 client information. |
| -> OAuth2Tokens | The OAuth 2.0 tokens. |
| -> FilePath | The directory to be synchronized. |
| -> [Recipient] | The recipients for GnuPG encryption of the uploaded files. |
| -> [RegexExclusion] | The regular expressions used for excluding files from synchronization. |
| -> Bool | Whether to write a file ".md5sum" of MD5 sums of synchronized files into the root directory. |
| -> Bool | Whether to delete keys from the bucket that do not correspond to files on the filesystem. |
| -> IO () | The IO action for the synchronization. |
Synchronize a filesystem directory with a Google Storage bucket.