aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Types/Commits.hs
blob: bf83fc486ee23157e5e9aeddd9038e6b2d03b23d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{- git-annex assistant commit tracking
 -
 - Copyright 2012 Joey Hess <id@joeyh.name>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

module Assistant.Types.Commits where

import Utility.TList

import Control.Concurrent.STM

type CommitChan = TList Commit

data Commit = Commit

newCommitChan :: IO CommitChan
newCommitChan = atomically newTList