unison-cli-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 True, we will show the from and to causal hashes.

-> Cli (Either ShareError CausalHash) 

Download a project/branch from Share.

data SyncVersion Source #

Constructors

SyncV1 
SyncV2 

Instances

Instances details
Show SyncVersion Source # 
Instance details

Defined in Unison.Cli.DownloadUtils

Eq SyncVersion Source # 
Instance details

Defined in Unison.Cli.DownloadUtils