moved module and relicensed
This commit is contained in:
parent
5d97898a7c
commit
2e9f128dea
9 changed files with 13 additions and 12 deletions
|
@ -15,7 +15,7 @@ import Control.Applicative
|
|||
import Prelude
|
||||
|
||||
import Utility.Env
|
||||
import Logs.TimeStamp
|
||||
import Utility.TimeStamp
|
||||
import Utility.QuickCheck
|
||||
|
||||
-- | Some very old logs did not have any time stamp at all;
|
||||
|
|
|
@ -16,7 +16,7 @@ import Utility.NotificationBroadcaster
|
|||
import Types.Transfer
|
||||
import Logs.Transfer
|
||||
import Logs.Trust
|
||||
import Logs.TimeStamp
|
||||
import Utility.TimeStamp
|
||||
import qualified Remote
|
||||
import qualified Types.Remote as Remote
|
||||
import Config.DynamicConfig
|
||||
|
|
|
@ -22,7 +22,7 @@ import Annex.Link
|
|||
import Logs.Location
|
||||
import Logs.Trust
|
||||
import Logs.Activity
|
||||
import Logs.TimeStamp
|
||||
import Utility.TimeStamp
|
||||
import Logs.PreferredContent
|
||||
import Annex.NumCopies
|
||||
import Annex.UUID
|
||||
|
|
|
@ -40,7 +40,7 @@ import Annex.VectorClock
|
|||
import qualified Annex.Branch
|
||||
import qualified Annex
|
||||
import Logs
|
||||
import Logs.TimeStamp
|
||||
import Utility.TimeStamp
|
||||
import Logs.MetaData.Pure
|
||||
|
||||
import qualified Data.Set as S
|
||||
|
|
|
@ -18,7 +18,7 @@ import Utility.Metered
|
|||
import Utility.Percentage
|
||||
import Utility.PID
|
||||
import Annex.LockPool
|
||||
import Logs.TimeStamp
|
||||
import Utility.TimeStamp
|
||||
import Logs.File
|
||||
|
||||
import Data.Time.Clock
|
||||
|
|
|
@ -33,7 +33,7 @@ import Data.Time
|
|||
|
||||
import Annex.Common
|
||||
import qualified Annex
|
||||
import Logs.TimeStamp
|
||||
import Utility.TimeStamp
|
||||
import Logs.File
|
||||
|
||||
-- everything that is stored in the unused log
|
||||
|
|
|
@ -38,8 +38,9 @@ last = Prelude.last
|
|||
|
||||
{- Attempts to read a value from a String.
|
||||
-
|
||||
- Unlike Text.Read.readMaybe, this ignores leading/trailing whitespace,
|
||||
- and throws away any trailing text after the part that can be read.
|
||||
- Unlike Text.Read.readMaybe, this ignores some trailing text
|
||||
- after the part that can be read. However, if the trailing text looks
|
||||
- like another readable value, it fails.
|
||||
-}
|
||||
readish :: Read a => String -> Maybe a
|
||||
readish s = case reads s of
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{- log timestamp parsing
|
||||
{- timestamp parsing and formatting
|
||||
-
|
||||
- Copyright 2015-2016 Joey Hess <id@joeyh.name>
|
||||
-
|
||||
- Licensed under the GNU GPL version 3 or higher.
|
||||
- License: BSD-2-clause
|
||||
-}
|
||||
|
||||
{-# LANGUAGE CPP #-}
|
||||
|
||||
module Logs.TimeStamp where
|
||||
module Utility.TimeStamp where
|
||||
|
||||
import Utility.PartialPrelude
|
||||
import Utility.Misc
|
|
@ -879,7 +879,6 @@ Executable git-annex
|
|||
Logs.SingleValue
|
||||
Logs.SingleValue.Pure
|
||||
Logs.Smudge
|
||||
Logs.TimeStamp
|
||||
Logs.Transfer
|
||||
Logs.Transitions
|
||||
Logs.Trust
|
||||
|
@ -1062,6 +1061,7 @@ Executable git-annex
|
|||
Utility.SshHost
|
||||
Utility.Su
|
||||
Utility.SystemDirectory
|
||||
Utility.TimeStamp
|
||||
Utility.TList
|
||||
Utility.Tense
|
||||
Utility.ThreadLock
|
||||
|
|
Loading…
Reference in a new issue