2013-11-05 20:42:59 +00:00
|
|
|
{- git-annex v4 -> v5 uppgrade support
|
|
|
|
-
|
2015-01-21 16:50:09 +00:00
|
|
|
- Copyright 2013 Joey Hess <id@joeyh.name>
|
2013-11-05 20:42:59 +00:00
|
|
|
-
|
2019-03-13 19:48:14 +00:00
|
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
2013-11-05 20:42:59 +00:00
|
|
|
-}
|
|
|
|
|
|
|
|
module Upgrade.V4 where
|
|
|
|
|
2016-01-20 20:36:33 +00:00
|
|
|
import Annex.Common
|
2022-01-19 17:06:31 +00:00
|
|
|
import Types.Upgrade
|
2013-11-05 20:42:59 +00:00
|
|
|
|
2019-08-26 19:52:19 +00:00
|
|
|
{- Was only used for direct mode upgrade. v4 to v5 indirect update is a no-op,
|
|
|
|
- and direct mode is no longer supported, so nothing needs to be done. -}
|
2022-01-19 17:06:31 +00:00
|
|
|
upgrade :: Bool -> Annex UpgradeResult
|
|
|
|
upgrade _automatic = return UpgradeSuccess
|