File: RemoteControl.hs

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (16 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{- git-annex assistant RemoteDaemon control
 -
 - Copyright 2014 Joey Hess <id@joeyh.name>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

module Assistant.Types.RemoteControl where

import qualified RemoteDaemon.Types as RemoteDaemon
import Control.Concurrent

type RemoteControl = Chan RemoteDaemon.Consumed

newRemoteControl :: IO RemoteControl
newRemoteControl = newChan