-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoptions.e
More file actions
76 lines (56 loc) · 1.1 KB
/
options.e
File metadata and controls
76 lines (56 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
note
description: "Summary description for {OPTIONS}."
author: ""
date: "$Date$"
revision: "$Revision$"
class
OPTIONS
create
make
feature
make
do
shared := {GIT_REPOSITORY_INIT_MODE_T_ENUM_API}.git_repository_init_shared_umask
end
feature -- Access
no_options: BOOLEAN
do
Result := quiet or bare or initial_commit or (shared /= {GIT_REPOSITORY_INIT_MODE_T_ENUM_API}.git_repository_init_shared_umask) or (attached template) or (attached gitdir)
end
quiet: BOOLEAN
bare: BOOLEAN
initial_commit: BOOLEAN
shared: INTEGER
template: detachable STRING
gitdir: detachable STRING
dir: detachable STRING
feature -- Change Element
set_quiet (a_val: like quiet)
do
quiet := a_val
end
set_bare (a_val: like bare)
do
bare := a_val
end
set_initial_commit (a_val: like initial_commit)
do
initial_commit := a_val
end
set_shared (a_val: like shared)
do
shared := a_val
end
set_template (a_val: like template)
do
template := a_val
end
set_gitdir (a_val: like gitdir)
do
gitdir := a_val
end
set_dir (a_val: like dir)
do
dir := a_val
end
end