Update parser-typechecker/src/Unison/Codebase/SqliteCodebase.hs

Co-authored-by: Arya Irani <538571+aryairani@users.noreply.github.com>
This commit is contained in:
Chris Penner 2022-01-04 16:53:17 -06:00 committed by GitHub
parent 64f0a792e2
commit 6f29afe36b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1205,7 +1205,7 @@ pushGitBranch srcConn branch repo (PushGitBranchOpts setRoot _syncMode) = Unlift
gitIn remotePath ["push", "--quiet", url]
pure True
-- | Make a clean copy of the connected codebase into the provided path.
-- | Make a clean copy of the connected codebase into the provided path. Destroys any existing `v2/` directory
copyCodebase :: MonadIO m => Connection -> CodebasePath -> m ()
copyCodebase srcConn destPath = runDB srcConn $ do
-- remove any existing codebase at the destination location.