summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2014-12-17 13:57:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-17 13:57:52 -0400
commit16dfb953454a24d06e8ae223b762fc0e078b0918 (patch)
tree92d5d49758f43992ffcf9a280f1044ec0bf697ff /Annex
parentcbb5cb34a61d45769eac2b4930b3b233939ee61e (diff)
move dummy uuids to Annex.UUID
Diffstat (limited to 'Annex')
-rw-r--r--Annex/UUID.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Annex/UUID.hs b/Annex/UUID.hs
index 5ed887689..ec642a0fe 100644
--- a/Annex/UUID.hs
+++ b/Annex/UUID.hs
@@ -23,6 +23,8 @@ module Annex.UUID (
storeUUID,
storeUUIDIn,
setUUID,
+ webUUID,
+ bitTorrentUUID,
) where
import Common.Annex
@@ -98,3 +100,11 @@ setUUID :: Git.Repo -> UUID -> IO Git.Repo
setUUID r u = do
let s = show configkey ++ "=" ++ fromUUID u
Git.Config.store s r
+
+-- Dummy uuid for the whole web. Do not alter.
+webUUID :: UUID
+webUUID = UUID "00000000-0000-0000-0000-000000000001"
+
+-- Dummy uuid for bittorrent. Do not alter.
+bitTorrentUUID :: UUID
+bitTorrentUUID = UUID "00000000-0000-0000-0000-000000000002"