| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Unison.Cli.DownloadUtils
Description
Utility functions for downloading remote entities and storing them locally in SQLite.
These are shared by commands like pull and clone.
Synopsis
Documentation
downloadProjectBranchFromShare Source #
Arguments
| :: HasCallStack | |
| => IncludeSquashedHead | |
| -> RemoteProjectBranch | |
| -> Bool | Whether this download is part of a pull operation. If |
| -> Cli (Either ShareError CausalHash) |
Download a project/branch from Share.
downloadLooseCodeFromShare :: ReadShareLooseCode -> Cli (Either ShareError CausalHash) Source #
Download loose code from Share.
data SyncVersion Source #
Instances
| Show SyncVersion Source # | |
Defined in Unison.Cli.DownloadUtils Methods showsPrec :: Int -> SyncVersion -> ShowS # show :: SyncVersion -> String # showList :: [SyncVersion] -> ShowS # | |
| Eq SyncVersion Source # | |
Defined in Unison.Cli.DownloadUtils | |