Last active
August 29, 2015 14:03
-
-
Save fracek/17ab900622f3fa825926 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define method initialize(opts :: <git-repository-init-options*>, | |
#key version = 1, | |
flags = #f, | |
mode = #f, | |
working-directory = #f, | |
description = #f, | |
... | |
origin-url = #f) | |
if (version) | |
git-repository-init-options$version(opts) := version; | |
end; | |
... | |
if (working-directory) | |
git-repository-init-options$workdir-path(opts) := working-directory; | |
end; | |
... | |
end; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define git-options <git-repository-init-options*> | |
version = 1, | |
flags, | |
mode, | |
workdir-path => working-directory, | |
description, | |
template-path, | |
initial-head, | |
origin-url | |
end git-options; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment