split cost out into its own module
Added a function to insert a new cost into a list, which could be used to asjust costs after a drag and drop.
This commit is contained in:
parent
672fb29b06
commit
19c0a0d5b1
18 changed files with 103 additions and 37 deletions
|
@ -21,12 +21,13 @@ import Logs.UUID
|
|||
import Logs.Remote
|
||||
import Git.Remote
|
||||
import Config
|
||||
import Config.Cost
|
||||
|
||||
import qualified Data.Text as T
|
||||
import qualified Data.Map as M
|
||||
|
||||
{- Sets up and begins syncing with a new ssh or rsync remote. -}
|
||||
makeSshRemote :: Bool -> SshData -> Maybe Int -> Assistant Remote
|
||||
makeSshRemote :: Bool -> SshData -> Maybe Cost -> Assistant Remote
|
||||
makeSshRemote forcersync sshdata mcost = do
|
||||
r <- liftAnnex $
|
||||
addRemote $ maker (sshRepoName sshdata) sshurl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue