diff options
author | Joey Hess <joey@kitenet.net> | 2014-06-11 16:17:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-06-11 16:17:01 -0400 |
commit | 8550dd4bb75f03700fbebd7cf1b38cb2ef8b29f5 (patch) | |
tree | 45d37cadac155ea050170450a367fbcc64c082bb /Utility/InodeCache.hs | |
parent | 37f848ace7eec5c73185e9c15b7063975bbcd4c8 (diff) |
minimal exports
Diffstat (limited to 'Utility/InodeCache.hs')
-rw-r--r-- | Utility/InodeCache.hs | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Utility/InodeCache.hs b/Utility/InodeCache.hs index c142114cb..9bcb6d4f8 100644 --- a/Utility/InodeCache.hs +++ b/Utility/InodeCache.hs @@ -1,11 +1,26 @@ -{- Caching a file's inode, size, and modification time to see when it's changed. +{- Caching a file's inode, size, and modification time + - to see when it's changed. - - - Copyright 2013 Joey Hess <joey@kitenet.net> + - Copyright 2013, 2014 Joey Hess <joey@kitenet.net> - - License: BSD-2-clause -} -module Utility.InodeCache where +module Utility.InodeCache ( + InodeCache, + InodeComparisonType(..), + compareStrong, + compareWeak, + compareBy, + readInodeCache, + showInodeCache, + genInodeCache, + toInodeCache, + InodeCacheKey, + inodeCacheToKey, + inodeCacheToMtime, + prop_read_show_inodecache +) where import Common import System.PosixCompat.Types @@ -17,6 +32,7 @@ data InodeCachePrim = InodeCachePrim FileID FileOffset EpochTime newtype InodeCache = InodeCache InodeCachePrim deriving (Show) + {- Inode caches can be compared in two different ways, either weakly - or strongly. -} data InodeComparisonType = Weakly | Strongly |