License | AGPL-3 |
---|---|
Maintainer | Kinoru |
Stability | Provisional |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Functions that perform the action of the Unbreak utility.
Documentation
Creates the ~/.unbreak.json
file with the default configuration
if it's missing.
runOpen :: ByteString -> IO () Source
Given a filename, try copying the file from the remote to a temporary
shared memory space, open it with the text editor specified in the config
file, and copy it back to the remote. Shell command scp
must exist.
:: Bool | Force upload even when the file name already exists |
-> RawFilePath | |
-> IO () |
Pick a local file, encrypt it, and send to the remote storage.