unison-cli-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Codebase.Editor.HandleInput.MoveBranch

Synopsis

Documentation

doMoveBranch :: Text -> Bool -> Path' -> Path' -> Cli () Source #

Moves a branch and its history from one location to another, and saves the new root branch.

moveBranchFunc :: Bool -> Path' -> Path' -> Cli (Maybe (Absolute, Branch IO -> Branch IO)) Source #

Note: Currently only allows moving within the same project-branch, should be easy to change in the future if needed.