Add typed/net/git-checkout

original commit: 7d241e92143dc4327c71ec1bb1246bb81afe14b4
This commit is contained in:
Asumu Takikawa 2014-10-20 02:53:40 -04:00
parent 5f0b741571
commit 24673c7642

View File

@ -0,0 +1,19 @@
#lang s-exp typed-racket/base-env/extra-env-lang
;; This module provides a typed version of net/git-checkout
(require net/git-checkout)
(type-environment
[git-checkout
(->key -String -String
#:dest-dir (-opt -Pathlike) #t
#:ref -String #f
#:transport (one-of/c 'git 'http 'https) #f
#:depth (-opt -Integer) #f
#:status-printf (->* (list -String) Univ -Void) #f
#:tmp-dir (-opt -Pathlike) #f
#:clean-tmp-dir? Univ #f
#:verify-server? Univ #f
#:port -Integer #f
-String)])