Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
delete.branch
input handler
Synopsis
Documentation
handleDeleteBranch :: ProjectAndBranch (Maybe ProjectName) ProjectBranchName -> Cli () Source #
Delete a project branch.
Currently, deleting a branch means deleting its project_branch
row, then deleting its contents from the namespace.
Its children branches, if any, are reparented to their grandparent, if any. You may delete the only branch in a
project.
doDeleteProjectBranch :: HasCallStack => ProjectAndBranch Project ProjectBranch -> Cli () Source #
Delete a project branch and record an entry in the reflog.