mootool 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +7 -0
  3. data/Gemfile +1 -0
  4. data/Gemfile.lock +71 -67
  5. data/lib/mootool/command.rb +1 -0
  6. data/lib/mootool/controller_base.rb +1 -0
  7. data/lib/mootool/controllers/dwarf.rb +2 -1
  8. data/lib/mootool/controllers/dyld_linker.rb +1 -0
  9. data/lib/mootool/controllers/dyld_shared_cache.rb +1 -0
  10. data/lib/mootool/controllers/fat_binary.rb +1 -0
  11. data/lib/mootool/controllers/kernel_collection.rb +4 -3
  12. data/lib/mootool/controllers/sections.rb +1 -0
  13. data/lib/mootool/core_extensions.rb +3 -3
  14. data/lib/mootool/models/decompressor.rb +5 -2
  15. data/lib/mootool/models/device_tree.rb +5 -3
  16. data/lib/mootool/models/img4.rb +2 -1
  17. data/lib/mootool/models/ipsw.rb +5 -1
  18. data/lib/mootool/version.rb +2 -1
  19. data/lib/mootool.rb +1 -0
  20. data/sorbet/config +1 -1
  21. data/sorbet/rbi/annotations/.gitattributes +1 -0
  22. data/sorbet/rbi/annotations/rainbow.rbi +2 -2
  23. data/sorbet/rbi/gems/.gitattributes +1 -0
  24. data/sorbet/rbi/gems/ast@2.4.2.rbi +48 -82
  25. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +107 -153
  26. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +192 -332
  27. data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
  28. data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
  29. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +166 -276
  30. data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.6.3.rbi} +119 -228
  31. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  32. data/sorbet/rbi/gems/lzfse@0.0.2.rbi +55 -0
  33. data/sorbet/rbi/gems/lzss@0.1.rbi +8 -0
  34. data/sorbet/rbi/gems/netrc@0.11.0.rbi +52 -80
  35. data/sorbet/rbi/gems/{overcommit@0.59.1.rbi → overcommit@0.60.0.rbi} +534 -887
  36. data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
  37. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +5451 -0
  38. data/sorbet/rbi/gems/{plist@3.6.0.rbi → plist@3.7.0.rbi} +125 -3
  39. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  40. data/sorbet/rbi/gems/prism@0.17.1.rbi +27700 -0
  41. data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
  42. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +141 -191
  43. data/sorbet/rbi/gems/rake@13.1.0.rbi +2887 -0
  44. data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.4.rbi} +979 -1676
  45. data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +3749 -0
  46. data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +811 -1268
  47. data/sorbet/rbi/gems/{rspec-core@3.11.0.rbi → rspec-core@3.12.2.rbi} +2662 -4722
  48. data/sorbet/rbi/gems/{rspec-expectations@3.11.0.rbi → rspec-expectations@3.12.3.rbi} +1557 -2608
  49. data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +5306 -0
  50. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +1609 -0
  51. data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
  52. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7090 -0
  53. data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +1125 -0
  54. data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +878 -0
  55. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +88 -173
  56. data/sorbet/rbi/gems/rubocop-rspec@2.25.0.rbi +7997 -0
  57. data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56813 -0
  58. data/sorbet/rbi/gems/ruby-lzma@0.4.3.rbi +19 -0
  59. data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +899 -1237
  60. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  61. data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +808 -1275
  62. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
  63. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
  64. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  65. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  66. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  67. data/sorbet/rbi/gems/tapioca@0.11.12.rbi +3507 -0
  68. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  69. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  70. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +4531 -7160
  71. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +24 -72
  72. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +385 -1697
  73. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +7 -30
  74. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +1 -3
  75. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  76. data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +35 -0
  77. data/sorbet/tapioca/require.rb +13 -1
  78. metadata +47 -35
  79. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  80. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  81. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -353
  82. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -6198
  83. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  84. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3587
  85. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -3927
  86. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -6506
  87. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -2040
  88. data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -120
  89. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -7990
  90. data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +0 -7604
  91. data/sorbet/rbi/gems/rubocop@1.35.0.rbi +0 -62260
  92. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1445
  93. data/sorbet/rbi/gems/spoom@1.1.12.rbi +0 -2829
  94. data/sorbet/rbi/gems/tapioca@0.9.3.rbi +0 -2151
  95. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -4532
  96. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +0 -60
  97. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
  98. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -3075
  99. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -458
  100. data/sorbet/rbi/todo.rbi +0 -7
@@ -7,7 +7,7 @@
7
7
  # Provides a handler for interrupt signals (SIGINT), allowing the application to
8
8
  # finish what it's currently working on.
9
9
  #
10
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:7
10
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#7
11
11
  class InterruptHandler
12
12
  include ::Singleton
13
13
  extend ::Singleton::SingletonClassMethods
@@ -16,55 +16,49 @@ class InterruptHandler
16
16
  #
17
17
  # @return [InterruptHandler] a new instance of InterruptHandler
18
18
  #
19
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:13
19
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#13
20
20
  def initialize; end
21
21
 
22
22
  # Returns the value of attribute isolate_signals.
23
23
  #
24
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:10
24
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#10
25
25
  def isolate_signals; end
26
26
 
27
27
  # Sets the attribute isolate_signals
28
28
  #
29
29
  # @param value the value to set the attribute isolate_signals to.
30
30
  #
31
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:10
32
- def isolate_signals=(_arg0)
33
- ;
34
- end
31
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#10
32
+ def isolate_signals=(_arg0); end
35
33
 
36
34
  # Returns the value of attribute reenable_on_interrupt.
37
35
  #
38
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:10
36
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#10
39
37
  def reenable_on_interrupt; end
40
38
 
41
39
  # Sets the attribute reenable_on_interrupt
42
40
  #
43
41
  # @param value the value to set the attribute reenable_on_interrupt to.
44
42
  #
45
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:10
46
- def reenable_on_interrupt=(_arg0)
47
- ;
48
- end
43
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#10
44
+ def reenable_on_interrupt=(_arg0); end
49
45
 
50
46
  # Returns the value of attribute signal_received.
51
47
  #
52
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:10
48
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#10
53
49
  def signal_received; end
54
50
 
55
51
  # Sets the attribute signal_received
56
52
  #
57
53
  # @param value the value to set the attribute signal_received to.
58
54
  #
59
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:10
60
- def signal_received=(_arg0)
61
- ;
62
- end
55
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#10
56
+ def signal_received=(_arg0); end
63
57
 
64
58
  class << self
65
59
  # Disable interrupt isolation.
66
60
  #
67
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:71
61
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#71
68
62
  def disable!; end
69
63
 
70
64
  # Provide a way to allow a single Ctrl-C interrupt to happen and atomically
@@ -97,34 +91,32 @@ class InterruptHandler
97
91
  # ... handle any other exceptions ...
98
92
  # end
99
93
  #
100
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:62
94
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#62
101
95
  def disable_until_finished_or_interrupted; end
102
96
 
103
97
  # Enable interrupt isolation.
104
98
  #
105
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:76
99
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#76
106
100
  def enable!; end
107
101
 
108
102
  # Enable interrupt isolation while executing the provided block.
109
103
  #
110
104
  # @yield block to execute with interrupt isolation
111
105
  #
112
- # source://overcommit-0.59.1/lib/overcommit/interrupt_handler.rb:83
106
+ # source://overcommit//lib/overcommit/interrupt_handler.rb#83
113
107
  def isolate_from_interrupts; end
114
108
  end
115
109
  end
116
110
 
117
111
  # Defines the gem version.
118
112
  #
119
- # source://overcommit-0.59.1/lib/overcommit/os.rb:5
120
- module Overcommit
121
- ;
122
- end
113
+ # source://overcommit//lib/overcommit/os.rb#5
114
+ module Overcommit; end
123
115
 
124
- # source://overcommit-0.59.1/lib/overcommit/constants.rb:11
116
+ # source://overcommit//lib/overcommit/constants.rb#12
125
117
  Overcommit::BUG_REPORT_URL = T.let(T.unsafe(nil), String)
126
118
 
127
- # source://overcommit-0.59.1/lib/overcommit/constants.rb:6
119
+ # source://overcommit//lib/overcommit/constants.rb#6
128
120
  Overcommit::CONFIG_FILE_NAME = T.let(T.unsafe(nil), String)
129
121
 
130
122
  # Distributes a list of arguments over multiple invocations of a command.
@@ -141,38 +133,32 @@ Overcommit::CONFIG_FILE_NAME = T.let(T.unsafe(nil), String)
141
133
  # standard `status`, `stdout`, and `stderr` will still work but be a
142
134
  # aggregation/concatenation of all statuses/outputs.
143
135
  #
144
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:17
136
+ # source://overcommit//lib/overcommit/command_splitter.rb#17
145
137
  class Overcommit::CommandSplitter
146
138
  class << self
147
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:56
148
- def execute(initial_args, options)
149
- ;
150
- end
139
+ # source://overcommit//lib/overcommit/command_splitter.rb#56
140
+ def execute(initial_args, options); end
151
141
 
152
142
  private
153
143
 
154
144
  # @return [Array<Array<String>, Integer>] tuple of arguments and new index
155
145
  #
156
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:104
157
- def arguments_under_limit(splittable_args, start_index, byte_limit)
158
- ;
159
- end
146
+ # source://overcommit//lib/overcommit/command_splitter.rb#104
147
+ def arguments_under_limit(splittable_args, start_index, byte_limit); end
160
148
 
161
149
  # Given a list of prefix arguments and suffix arguments that can be split,
162
150
  # returns a list of argument lists that are executable on the current OS
163
151
  # without exceeding command line limitations.
164
152
  #
165
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:79
166
- def extract_argument_lists(args, splittable_args)
167
- ;
168
- end
153
+ # source://overcommit//lib/overcommit/command_splitter.rb#79
154
+ def extract_argument_lists(args, splittable_args); end
169
155
 
170
156
  # Returns the maximum number of arguments allowed in a single command on
171
157
  # this system.
172
158
  #
173
159
  # @return [Integer]
174
160
  #
175
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:132
161
+ # source://overcommit//lib/overcommit/command_splitter.rb#132
176
162
  def max_command_length; end
177
163
  end
178
164
  end
@@ -183,13 +169,13 @@ end
183
169
  # @attr_reader stdouts [Array<String>] standard outputs from invocations
184
170
  # @attr_reader stderrs [Array<String>] standard error outputs from invocations
185
171
  #
186
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:23
172
+ # source://overcommit//lib/overcommit/command_splitter.rb#23
187
173
  class Overcommit::CommandSplitter::Result < ::Struct
188
174
  # Returns `0` if all invocations returned `0`; `1` otherwise.
189
175
  #
190
176
  # @return [true, false]
191
177
  #
192
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:34
178
+ # source://overcommit//lib/overcommit/command_splitter.rb#34
193
179
  def status; end
194
180
 
195
181
  # status codes for invocations
@@ -197,16 +183,14 @@ class Overcommit::CommandSplitter::Result < ::Struct
197
183
  # @return [Array<Integer>] the current value of statuses
198
184
  def statuses; end
199
185
 
200
- def statuses=(_)
201
- ;
202
- end
186
+ def statuses=(_); end
203
187
 
204
188
  # Returns concatenated standard error streams of all invocations in the
205
189
  # order they were executed.
206
190
  #
207
191
  # @return [String]
208
192
  #
209
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:50
193
+ # source://overcommit//lib/overcommit/command_splitter.rb#50
210
194
  def stderr; end
211
195
 
212
196
  # standard error outputs from invocations
@@ -214,16 +198,14 @@ class Overcommit::CommandSplitter::Result < ::Struct
214
198
  # @return [Array<String>] the current value of stderrs
215
199
  def stderrs; end
216
200
 
217
- def stderrs=(_)
218
- ;
219
- end
201
+ def stderrs=(_); end
220
202
 
221
203
  # Returns concatenated standard output streams of all invocations in the
222
204
  # order they were executed.
223
205
  #
224
206
  # @return [String]
225
207
  #
226
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:42
208
+ # source://overcommit//lib/overcommit/command_splitter.rb#42
227
209
  def stdout; end
228
210
 
229
211
  # standard outputs from invocations
@@ -231,37 +213,27 @@ class Overcommit::CommandSplitter::Result < ::Struct
231
213
  # @return [Array<String>] the current value of stdouts
232
214
  def stdouts; end
233
215
 
234
- def stdouts=(_)
235
- ;
236
- end
216
+ def stdouts=(_); end
237
217
 
238
218
  # Returns whether all invocations were successful.
239
219
  #
240
220
  # @return [true, false]
241
221
  #
242
- # source://overcommit-0.59.1/lib/overcommit/command_splitter.rb:27
222
+ # source://overcommit//lib/overcommit/command_splitter.rb#27
243
223
  def success?; end
244
224
 
245
225
  class << self
246
- def [](*_arg0)
247
- ;
248
- end
249
-
226
+ def [](*_arg0); end
250
227
  def inspect; end
251
-
252
228
  def keyword_init?; end
253
-
254
229
  def members; end
255
-
256
- def new(*_arg0)
257
- ;
258
- end
230
+ def new(*_arg0); end
259
231
  end
260
232
  end
261
233
 
262
234
  # Stores configuration for Overcommit and the hooks it runs.
263
235
  #
264
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:8
236
+ # source://overcommit//lib/overcommit/configuration.rb#8
265
237
  class Overcommit::Configuration
266
238
  # Creates a configuration from the given hash.
267
239
  #
@@ -273,107 +245,89 @@ class Overcommit::Configuration
273
245
  # @param logger [Hash] a customizable set of options
274
246
  # @return [Configuration] a new instance of Configuration
275
247
  #
276
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:15
277
- def initialize(hash, options = T.unsafe(nil))
278
- ;
279
- end
248
+ # source://overcommit//lib/overcommit/configuration.rb#15
249
+ def initialize(hash, options = T.unsafe(nil)); end
280
250
 
281
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:24
282
- def ==(other)
283
- ;
284
- end
251
+ # source://overcommit//lib/overcommit/configuration.rb#24
252
+ def ==(other); end
285
253
 
286
254
  # Access the configuration as if it were a hash.
287
255
  #
288
256
  # @param key [String]
289
257
  # @return [Array, Hash, Number, String]
290
258
  #
291
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:32
292
- def [](key)
293
- ;
294
- end
259
+ # source://overcommit//lib/overcommit/configuration.rb#32
260
+ def [](key); end
295
261
 
296
262
  # Returns configuration for all built-in hooks in each hook type.
297
263
  #
298
264
  # @return [Hash]
299
265
  #
300
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:72
266
+ # source://overcommit//lib/overcommit/configuration.rb#72
301
267
  def all_builtin_hook_configs; end
302
268
 
303
269
  # Returns configuration for all hooks in each hook type.
304
270
  #
305
271
  # @return [Hash]
306
272
  #
307
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:65
273
+ # source://overcommit//lib/overcommit/configuration.rb#65
308
274
  def all_hook_configs; end
309
275
 
310
276
  # Returns configuration for all plugin hooks in each hook type.
311
277
  #
312
278
  # @return [Hash]
313
279
  #
314
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:91
280
+ # source://overcommit//lib/overcommit/configuration.rb#91
315
281
  def all_plugin_hook_configs; end
316
282
 
317
283
  # Applies additional configuration settings based on the provided
318
284
  # environment variables.
319
285
  #
320
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:157
321
- def apply_environment!(hook_context, env)
322
- ;
323
- end
286
+ # source://overcommit//lib/overcommit/configuration.rb#157
287
+ def apply_environment!(hook_context, env); end
324
288
 
325
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:42
289
+ # source://overcommit//lib/overcommit/configuration.rb#42
326
290
  def concurrency; end
327
291
 
328
292
  # Returns the ad hoc hooks that have been enabled for a hook type.
329
293
  #
330
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:123
331
- def enabled_ad_hoc_hooks(hook_context)
332
- ;
333
- end
294
+ # source://overcommit//lib/overcommit/configuration.rb#123
295
+ def enabled_ad_hoc_hooks(hook_context); end
334
296
 
335
297
  # Returns the built-in hooks that have been enabled for a hook type.
336
298
  #
337
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:115
338
- def enabled_builtin_hooks(hook_context)
339
- ;
340
- end
299
+ # source://overcommit//lib/overcommit/configuration.rb#115
300
+ def enabled_builtin_hooks(hook_context); end
341
301
 
342
302
  # Returns a non-modifiable configuration for a hook.
343
303
  #
344
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:131
345
- def for_hook(hook, hook_type = T.unsafe(nil))
346
- ;
347
- end
304
+ # source://overcommit//lib/overcommit/configuration.rb#131
305
+ def for_hook(hook, hook_type = T.unsafe(nil)); end
348
306
 
349
307
  # Merges the given configuration with this one, returning a new
350
308
  # {Configuration}. The provided configuration will either add to or replace
351
309
  # any options defined in this configuration.
352
310
  #
353
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:151
354
- def merge(config)
355
- ;
356
- end
311
+ # source://overcommit//lib/overcommit/configuration.rb#151
312
+ def merge(config); end
357
313
 
358
314
  # Returns absolute path to the directory that external hook plugins should
359
315
  # be loaded from.
360
316
  #
361
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:38
317
+ # source://overcommit//lib/overcommit/configuration.rb#38
362
318
  def plugin_directory; end
363
319
 
364
320
  # @return [Boolean]
365
321
  #
366
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:181
367
- def plugin_hook?(hook_context_or_type, hook_name)
368
- ;
369
- end
322
+ # source://overcommit//lib/overcommit/configuration.rb#181
323
+ def plugin_hook?(hook_context_or_type, hook_name); end
370
324
 
371
325
  # Return whether a previous signature has been recorded for this
372
326
  # configuration.
373
327
  #
374
328
  # @return [true, false]
375
329
  #
376
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:205
330
+ # source://overcommit//lib/overcommit/configuration.rb#205
377
331
  def previous_signature?; end
378
332
 
379
333
  # Return whether the signature for this configuration has changed since it
@@ -381,12 +335,12 @@ class Overcommit::Configuration
381
335
  #
382
336
  # @return [true, false]
383
337
  #
384
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:197
338
+ # source://overcommit//lib/overcommit/configuration.rb#197
385
339
  def signature_changed?; end
386
340
 
387
341
  # Update the currently stored signature for this hook.
388
342
  #
389
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:234
343
+ # source://overcommit//lib/overcommit/configuration.rb#234
390
344
  def update_signature!; end
391
345
 
392
346
  # Returns whether this configuration should verify itself by checking the
@@ -394,60 +348,50 @@ class Overcommit::Configuration
394
348
  #
395
349
  # @return [true, false]
396
350
  #
397
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:213
351
+ # source://overcommit//lib/overcommit/configuration.rb#213
398
352
  def verify_signatures?; end
399
353
 
400
354
  protected
401
355
 
402
356
  # Returns the value of attribute hash.
403
357
  #
404
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:252
358
+ # source://overcommit//lib/overcommit/configuration.rb#252
405
359
  def hash; end
406
360
 
407
361
  private
408
362
 
409
363
  # @return [Boolean]
410
364
  #
411
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:256
412
- def ad_hoc_hook?(hook_context, hook_name)
413
- ;
414
- end
365
+ # source://overcommit//lib/overcommit/configuration.rb#256
366
+ def ad_hoc_hook?(hook_context, hook_name); end
415
367
 
416
368
  # @return [Boolean]
417
369
  #
418
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:266
419
- def built_in_hook?(hook_context, hook_name)
420
- ;
421
- end
370
+ # source://overcommit//lib/overcommit/configuration.rb#266
371
+ def built_in_hook?(hook_context, hook_name); end
422
372
 
423
373
  # @return [Boolean]
424
374
  #
425
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:279
426
- def hook_enabled?(hook_context_or_type, hook_name)
427
- ;
428
- end
375
+ # source://overcommit//lib/overcommit/configuration.rb#279
376
+ def hook_enabled?(hook_context_or_type, hook_name); end
429
377
 
430
378
  # @return [Boolean]
431
379
  #
432
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:273
433
- def hook_exists?(hook_context, hook_name)
434
- ;
435
- end
380
+ # source://overcommit//lib/overcommit/configuration.rb#273
381
+ def hook_exists?(hook_context, hook_name); end
436
382
 
437
383
  # Returns the unique signature of this configuration.
438
384
  #
439
385
  # @return [String]
440
386
  #
441
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:317
387
+ # source://overcommit//lib/overcommit/configuration.rb#317
442
388
  def signature; end
443
389
 
444
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:342
390
+ # source://overcommit//lib/overcommit/configuration.rb#342
445
391
  def signature_config_key; end
446
392
 
447
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:296
448
- def smart_merge(parent, child)
449
- ;
450
- end
393
+ # source://overcommit//lib/overcommit/configuration.rb#296
394
+ def smart_merge(parent, child); end
451
395
 
452
396
  # Returns the stored signature of this repo's Overcommit configuration.
453
397
  #
@@ -456,16 +400,16 @@ class Overcommit::Configuration
456
400
  #
457
401
  # @return [String]
458
402
  #
459
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:327
403
+ # source://overcommit//lib/overcommit/configuration.rb#327
460
404
  def stored_signature; end
461
405
 
462
- # source://overcommit-0.59.1/lib/overcommit/configuration.rb:346
406
+ # source://overcommit//lib/overcommit/configuration.rb#346
463
407
  def verify_signature_config_key; end
464
408
  end
465
409
 
466
410
  # Manages configuration file loading.
467
411
  #
468
- # source://overcommit-0.59.1/lib/overcommit/configuration_loader.rb:7
412
+ # source://overcommit//lib/overcommit/configuration_loader.rb#7
469
413
  class Overcommit::ConfigurationLoader
470
414
  # Create a configuration loader which writes warnings/errors to the given
471
415
  # {Overcommit::Logger} instance.
@@ -476,38 +420,32 @@ class Overcommit::ConfigurationLoader
476
420
  # @param verify [Hash] a customizable set of options
477
421
  # @return [ConfigurationLoader] a new instance of ConfigurationLoader
478
422
  #
479
- # source://overcommit-0.59.1/lib/overcommit/configuration_loader.rb:47
480
- def initialize(logger, options = T.unsafe(nil))
481
- ;
482
- end
423
+ # source://overcommit//lib/overcommit/configuration_loader.rb#47
424
+ def initialize(logger, options = T.unsafe(nil)); end
483
425
 
484
426
  # Loads a configuration, ensuring it extends the default configuration.
485
427
  #
486
- # source://overcommit-0.59.1/lib/overcommit/configuration_loader.rb:67
487
- def load_file(file)
488
- ;
489
- end
428
+ # source://overcommit//lib/overcommit/configuration_loader.rb#71
429
+ def load_file(file, local_file = T.unsafe(nil)); end
490
430
 
491
431
  # Loads and returns the configuration for the repository we're running in.
492
432
  #
493
433
  # @return [Overcommit::Configuration]
494
434
  #
495
- # source://overcommit-0.59.1/lib/overcommit/configuration_loader.rb:55
435
+ # source://overcommit//lib/overcommit/configuration_loader.rb#55
496
436
  def load_repo_config; end
497
437
 
498
438
  private
499
439
 
500
- # source://overcommit-0.59.1/lib/overcommit/configuration_loader.rb:86
501
- def verify_signatures(config)
502
- ;
503
- end
440
+ # source://overcommit//lib/overcommit/configuration_loader.rb#94
441
+ def verify_signatures(config); end
504
442
 
505
443
  class << self
506
444
  # Loads and returns the default configuration.
507
445
  #
508
446
  # @return [Overcommit::Configuration]
509
447
  #
510
- # source://overcommit-0.59.1/lib/overcommit/configuration_loader.rb:14
448
+ # source://overcommit//lib/overcommit/configuration_loader.rb#14
511
449
  def default_configuration; end
512
450
 
513
451
  # Loads configuration from file.
@@ -522,19 +460,17 @@ class Overcommit::ConfigurationLoader
522
460
  # @param default [Hash] a customizable set of options
523
461
  # @return [Overcommit::Configuration]
524
462
  #
525
- # source://overcommit-0.59.1/lib/overcommit/configuration_loader.rb:26
526
- def load_from_file(file, options = T.unsafe(nil))
527
- ;
528
- end
463
+ # source://overcommit//lib/overcommit/configuration_loader.rb#26
464
+ def load_from_file(file, options = T.unsafe(nil)); end
529
465
  end
530
466
  end
531
467
 
532
- # source://overcommit-0.59.1/lib/overcommit/configuration_loader.rb:8
468
+ # source://overcommit//lib/overcommit/configuration_loader.rb#8
533
469
  Overcommit::ConfigurationLoader::DEFAULT_CONFIG_PATH = T.let(T.unsafe(nil), String)
534
470
 
535
471
  # Validates and normalizes a configuration.
536
472
  #
537
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:6
473
+ # source://overcommit//lib/overcommit/configuration_validator.rb#6
538
474
  class Overcommit::ConfigurationValidator
539
475
  # Validates hash for any invalid options, normalizing where possible.
540
476
  #
@@ -547,49 +483,37 @@ class Overcommit::ConfigurationValidator
547
483
  # @param config [Overcommit::Configuration]
548
484
  # @return [Hash] validated hash (potentially modified)
549
485
  #
550
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:15
551
- def validate(config, hash, options)
552
- ;
553
- end
486
+ # source://overcommit//lib/overcommit/configuration_validator.rb#15
487
+ def validate(config, hash, options); end
554
488
 
555
489
  private
556
490
 
557
491
  # Prints a warning if there are any hooks listed in the configuration
558
492
  # without `enabled` explicitly set.
559
493
  #
560
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:125
561
- def check_for_missing_enabled_option(hash)
562
- ;
563
- end
494
+ # source://overcommit//lib/overcommit/configuration_validator.rb#125
495
+ def check_for_missing_enabled_option(hash); end
564
496
 
565
497
  # Prints a warning if any hook has a number of processors larger than the
566
498
  # global `concurrency` setting.
567
499
  #
568
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:147
569
- def check_for_too_many_processors(config, hash)
570
- ;
571
- end
500
+ # source://overcommit//lib/overcommit/configuration_validator.rb#147
501
+ def check_for_too_many_processors(config, hash); end
572
502
 
573
503
  # Prints a warning if the `verify_plugin_signatures` option is used instead
574
504
  # of the new `verify_signatures` option.
575
505
  #
576
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:174
577
- def check_for_verify_plugin_signatures_option(hash)
578
- ;
579
- end
506
+ # source://overcommit//lib/overcommit/configuration_validator.rb#174
507
+ def check_for_verify_plugin_signatures_option(hash); end
580
508
 
581
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:58
582
- def check_hook_env(hash)
583
- ;
584
- end
509
+ # source://overcommit//lib/overcommit/configuration_validator.rb#58
510
+ def check_hook_env(hash); end
585
511
 
586
512
  # Prints an error message and raises an exception if a hook has an
587
513
  # invalid name, since this can result in strange errors elsewhere.
588
514
  #
589
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:98
590
- def check_hook_name_format(hash)
591
- ;
592
- end
515
+ # source://overcommit//lib/overcommit/configuration_validator.rb#98
516
+ def check_hook_name_format(hash); end
593
517
 
594
518
  # Normalizes `nil` values to empty hashes.
595
519
  #
@@ -597,138 +521,132 @@ class Overcommit::ConfigurationValidator
597
521
  # together, since it's easier to merge two hashes than to have to check if
598
522
  # one of the values is nil.
599
523
  #
600
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:46
601
- def convert_nils_to_empty_hashes(hash)
602
- ;
603
- end
524
+ # source://overcommit//lib/overcommit/configuration_validator.rb#46
525
+ def convert_nils_to_empty_hashes(hash); end
604
526
 
605
527
  # Ensures that keys for all supported hook types exist (PreCommit,
606
528
  # CommitMsg, etc.)
607
529
  #
608
- # source://overcommit-0.59.1/lib/overcommit/configuration_validator.rb:34
609
- def ensure_hook_type_sections_exist(hash)
610
- ;
611
- end
530
+ # source://overcommit//lib/overcommit/configuration_validator.rb#34
531
+ def ensure_hook_type_sections_exist(hash); end
612
532
  end
613
533
 
614
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:3
615
- module Overcommit::Exceptions
616
- ;
617
- end
534
+ # source://overcommit//lib/overcommit/exceptions.rb#3
535
+ module Overcommit::Exceptions; end
618
536
 
619
537
  # Raised when a {Configuration} could not be loaded from a file.
620
538
  #
621
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:8
539
+ # source://overcommit//lib/overcommit/exceptions.rb#8
622
540
  class Overcommit::Exceptions::ConfigurationError < ::Overcommit::Exceptions::Error; end
623
541
 
624
542
  # Raised when the Overcommit configuration file signature has changed.
625
543
  #
626
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:11
544
+ # source://overcommit//lib/overcommit/exceptions.rb#11
627
545
  class Overcommit::Exceptions::ConfigurationSignatureChanged < ::Overcommit::Exceptions::Error; end
628
546
 
629
547
  # Base error class.
630
548
  #
631
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:5
549
+ # source://overcommit//lib/overcommit/exceptions.rb#5
632
550
  class Overcommit::Exceptions::Error < ::StandardError; end
633
551
 
634
552
  # Raised when trying to read/write to/from the local repo git config fails.
635
553
  #
636
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:14
554
+ # source://overcommit//lib/overcommit/exceptions.rb#14
637
555
  class Overcommit::Exceptions::GitConfigError < ::Overcommit::Exceptions::Error; end
638
556
 
639
557
  # Raised when there was a problem reading git revision information with `rev-list`.
640
558
  #
641
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:20
559
+ # source://overcommit//lib/overcommit/exceptions.rb#20
642
560
  class Overcommit::Exceptions::GitRevListError < ::Overcommit::Exceptions::Error; end
643
561
 
644
562
  # Raised when there was a problem reading submodule information for a repo.
645
563
  #
646
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:17
564
+ # source://overcommit//lib/overcommit/exceptions.rb#17
647
565
  class Overcommit::Exceptions::GitSubmoduleError < ::Overcommit::Exceptions::Error; end
648
566
 
649
567
  # Raised when a hook run was cancelled by the user.
650
568
  #
651
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:29
569
+ # source://overcommit//lib/overcommit/exceptions.rb#29
652
570
  class Overcommit::Exceptions::HookCancelled < ::Overcommit::Exceptions::Error; end
653
571
 
654
572
  # Raised when a {HookContext} is unable to clean the environment after a run.
655
573
  #
656
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:26
574
+ # source://overcommit//lib/overcommit/exceptions.rb#26
657
575
  class Overcommit::Exceptions::HookCleanupFailed < ::Overcommit::Exceptions::Error; end
658
576
 
659
577
  # Raised when a {HookRunner} could not be loaded.
660
578
  #
661
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:35
579
+ # source://overcommit//lib/overcommit/exceptions.rb#35
662
580
  class Overcommit::Exceptions::HookContextLoadError < ::Overcommit::Exceptions::Error; end
663
581
 
664
582
  # Raised when a hook could not be loaded by a {HookRunner}.
665
583
  #
666
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:32
584
+ # source://overcommit//lib/overcommit/exceptions.rb#32
667
585
  class Overcommit::Exceptions::HookLoadError < ::Overcommit::Exceptions::Error; end
668
586
 
669
587
  # Raised when a {HookContext} is unable to setup the environment before a run.
670
588
  #
671
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:23
589
+ # source://overcommit//lib/overcommit/exceptions.rb#23
672
590
  class Overcommit::Exceptions::HookSetupFailed < ::Overcommit::Exceptions::Error; end
673
591
 
674
592
  # Raised when a pipe character is used in the `execute` helper, as this was
675
593
  # likely used in error.
676
594
  #
677
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:39
595
+ # source://overcommit//lib/overcommit/exceptions.rb#39
678
596
  class Overcommit::Exceptions::InvalidCommandArgs < ::Overcommit::Exceptions::Error; end
679
597
 
680
598
  # Raised when an installation target is not a valid git repository.
681
599
  #
682
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:42
600
+ # source://overcommit//lib/overcommit/exceptions.rb#42
683
601
  class Overcommit::Exceptions::InvalidGitRepo < ::Overcommit::Exceptions::Error; end
684
602
 
685
603
  # Raised when a hook was defined incorrectly.
686
604
  #
687
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:45
605
+ # source://overcommit//lib/overcommit/exceptions.rb#45
688
606
  class Overcommit::Exceptions::InvalidHookDefinition < ::Overcommit::Exceptions::Error; end
689
607
 
690
608
  # Raised when one or more hook plugin signatures have changed.
691
609
  #
692
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:48
610
+ # source://overcommit//lib/overcommit/exceptions.rb#48
693
611
  class Overcommit::Exceptions::InvalidHookSignature < ::Overcommit::Exceptions::Error; end
694
612
 
695
613
  # Raised when there is a problem processing output into {Hook::Messages}s.
696
614
  #
697
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:51
615
+ # source://overcommit//lib/overcommit/exceptions.rb#51
698
616
  class Overcommit::Exceptions::MessageProcessingError < ::Overcommit::Exceptions::Error; end
699
617
 
700
618
  # Raised when an installation target already contains non-Overcommit hooks.
701
619
  #
702
- # source://overcommit-0.59.1/lib/overcommit/exceptions.rb:54
620
+ # source://overcommit//lib/overcommit/exceptions.rb#54
703
621
  class Overcommit::Exceptions::PreExistingHooks < ::Overcommit::Exceptions::Error; end
704
622
 
705
- # source://overcommit-0.59.1/lib/overcommit/git_version.rb:13
623
+ # source://overcommit//lib/overcommit/git_version.rb#13
706
624
  Overcommit::GIT_VERSION = T.let(T.unsafe(nil), Overcommit::Utils::Version)
707
625
 
708
626
  # Get configuration options from git
709
627
  #
710
- # source://overcommit-0.59.1/lib/overcommit/git_config.rb:7
628
+ # source://overcommit//lib/overcommit/git_config.rb#7
711
629
  module Overcommit::GitConfig
712
630
  private
713
631
 
714
- # source://overcommit-0.59.1/lib/overcommit/git_config.rb:10
632
+ # source://overcommit//lib/overcommit/git_config.rb#10
715
633
  def comment_character; end
716
634
 
717
- # source://overcommit-0.59.1/lib/overcommit/git_config.rb:16
635
+ # source://overcommit//lib/overcommit/git_config.rb#16
718
636
  def hooks_path; end
719
637
 
720
638
  class << self
721
- # source://overcommit-0.59.1/lib/overcommit/git_config.rb:10
639
+ # source://overcommit//lib/overcommit/git_config.rb#10
722
640
  def comment_character; end
723
641
 
724
- # source://overcommit-0.59.1/lib/overcommit/git_config.rb:16
642
+ # source://overcommit//lib/overcommit/git_config.rb#16
725
643
  def hooks_path; end
726
644
  end
727
645
  end
728
646
 
729
647
  # Provide a set of utilities for certain interactions with `git`.
730
648
  #
731
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:8
649
+ # source://overcommit//lib/overcommit/git_repo.rb#8
732
650
  module Overcommit::GitRepo
733
651
  private
734
652
 
@@ -736,7 +654,7 @@ module Overcommit::GitRepo
736
654
  #
737
655
  # @return [Array<String>] list of absolute file paths
738
656
  #
739
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:137
657
+ # source://overcommit//lib/overcommit/git_repo.rb#137
740
658
  def all_files; end
741
659
 
742
660
  # Returns the names of all branches containing the given commit.
@@ -744,16 +662,14 @@ module Overcommit::GitRepo
744
662
  # @param commit_ref [String] git tree ref that resolves to a commit
745
663
  # @return [Array<String>] list of branches containing the given commit
746
664
  #
747
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:274
748
- def branches_containing_commit(commit_ref)
749
- ;
750
- end
665
+ # source://overcommit//lib/overcommit/git_repo.rb#274
666
+ def branches_containing_commit(commit_ref); end
751
667
 
752
668
  # Returns the name of the currently checked out branch.
753
669
  #
754
670
  # @return [String]
755
671
  #
756
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:283
672
+ # source://overcommit//lib/overcommit/git_repo.rb#283
757
673
  def current_branch; end
758
674
 
759
675
  # Extract the set of modified lines from a given file.
@@ -762,16 +678,14 @@ module Overcommit::GitRepo
762
678
  # @param options [Hash]
763
679
  # @return [Set] line numbers that have been modified in file
764
680
  #
765
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:68
766
- def extract_modified_lines(file_path, options)
767
- ;
768
- end
681
+ # source://overcommit//lib/overcommit/git_repo.rb#68
682
+ def extract_modified_lines(file_path, options); end
769
683
 
770
684
  # Returns whether the current git branch is empty (has no commits).
771
685
  #
772
686
  # @return [true, false]
773
687
  #
774
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:146
688
+ # source://overcommit//lib/overcommit/git_repo.rb#146
775
689
  def initial_commit?; end
776
690
 
777
691
  # Returns the names of files in the given paths that are tracked by git.
@@ -780,31 +694,27 @@ module Overcommit::GitRepo
780
694
  # @param paths [Array<String>] list of paths to check
781
695
  # @return [Array<String>] list of absolute file paths
782
696
  #
783
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:110
784
- def list_files(paths = T.unsafe(nil), options = T.unsafe(nil))
785
- ;
786
- end
697
+ # source://overcommit//lib/overcommit/git_repo.rb#110
698
+ def list_files(paths = T.unsafe(nil), options = T.unsafe(nil)); end
787
699
 
788
700
  # Returns the names of all files that have been modified compared to HEAD.
789
701
  #
790
702
  # @param options [Hash]
791
703
  # @return [Array<String>] list of absolute file paths
792
704
  #
793
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:93
794
- def modified_files(options)
795
- ;
796
- end
705
+ # source://overcommit//lib/overcommit/git_repo.rb#93
706
+ def modified_files(options); end
797
707
 
798
708
  # Restore any relevant files that were present when repo was in the middle
799
709
  # of a cherry-pick.
800
710
  #
801
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:203
711
+ # source://overcommit//lib/overcommit/git_repo.rb#203
802
712
  def restore_cherry_pick_state; end
803
713
 
804
714
  # Restore any relevant files that were present when repo was in the middle
805
715
  # of a merge.
806
716
  #
807
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:183
717
+ # source://overcommit//lib/overcommit/git_repo.rb#183
808
718
  def restore_merge_state; end
809
719
 
810
720
  # Returns the submodules that have been staged for removal.
@@ -823,7 +733,7 @@ module Overcommit::GitRepo
823
733
  #
824
734
  # @raise [Overcommit::Exceptions::GitSubmoduleError] when
825
735
  #
826
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:231
736
+ # source://overcommit//lib/overcommit/git_repo.rb#231
827
737
  def staged_submodule_removals; end
828
738
 
829
739
  # Store any relevant files that are present when repo is in the middle of a
@@ -831,7 +741,7 @@ module Overcommit::GitRepo
831
741
  #
832
742
  # Restored via [#restore_cherry_pick_state].
833
743
  #
834
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:171
744
+ # source://overcommit//lib/overcommit/git_repo.rb#171
835
745
  def store_cherry_pick_state; end
836
746
 
837
747
  # Store any relevant files that are present when repo is in the middle of a
@@ -839,7 +749,7 @@ module Overcommit::GitRepo
839
749
  #
840
750
  # Restored via [#restore_merge_state].
841
751
  #
842
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:154
752
+ # source://overcommit//lib/overcommit/git_repo.rb#154
843
753
  def store_merge_state; end
844
754
 
845
755
  # Returns a list of SubmoduleStatus objects, one for each submodule in the
@@ -848,37 +758,31 @@ module Overcommit::GitRepo
848
758
  # @option options
849
759
  # @return [Array<SubmoduleStatus>]
850
760
  #
851
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:53
852
- def submodule_statuses(options = T.unsafe(nil))
853
- ;
854
- end
761
+ # source://overcommit//lib/overcommit/git_repo.rb#53
762
+ def submodule_statuses(options = T.unsafe(nil)); end
855
763
 
856
764
  # Returns the current set of registered submodules.
857
765
  #
858
766
  # @param options [Hash]
859
767
  # @return [Array<Overcommit::GitRepo::Submodule>]
860
768
  #
861
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:245
862
- def submodules(options = T.unsafe(nil))
863
- ;
864
- end
769
+ # source://overcommit//lib/overcommit/git_repo.rb#245
770
+ def submodules(options = T.unsafe(nil)); end
865
771
 
866
772
  # Returns whether the specified file/path is tracked by this repository.
867
773
  #
868
774
  # @param path [String]
869
775
  # @return [true, false]
870
776
  #
871
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:130
872
- def tracked?(path)
873
- ;
874
- end
777
+ # source://overcommit//lib/overcommit/git_repo.rb#130
778
+ def tracked?(path); end
875
779
 
876
780
  class << self
877
781
  # Returns the names of all files that are tracked by git.
878
782
  #
879
783
  # @return [Array<String>] list of absolute file paths
880
784
  #
881
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:137
785
+ # source://overcommit//lib/overcommit/git_repo.rb#137
882
786
  def all_files; end
883
787
 
884
788
  # Returns the names of all branches containing the given commit.
@@ -886,16 +790,14 @@ module Overcommit::GitRepo
886
790
  # @param commit_ref [String] git tree ref that resolves to a commit
887
791
  # @return [Array<String>] list of branches containing the given commit
888
792
  #
889
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:274
890
- def branches_containing_commit(commit_ref)
891
- ;
892
- end
793
+ # source://overcommit//lib/overcommit/git_repo.rb#274
794
+ def branches_containing_commit(commit_ref); end
893
795
 
894
796
  # Returns the name of the currently checked out branch.
895
797
  #
896
798
  # @return [String]
897
799
  #
898
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:283
800
+ # source://overcommit//lib/overcommit/git_repo.rb#283
899
801
  def current_branch; end
900
802
 
901
803
  # Extract the set of modified lines from a given file.
@@ -904,16 +806,14 @@ module Overcommit::GitRepo
904
806
  # @param options [Hash]
905
807
  # @return [Set] line numbers that have been modified in file
906
808
  #
907
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:68
908
- def extract_modified_lines(file_path, options)
909
- ;
910
- end
809
+ # source://overcommit//lib/overcommit/git_repo.rb#68
810
+ def extract_modified_lines(file_path, options); end
911
811
 
912
812
  # Returns whether the current git branch is empty (has no commits).
913
813
  #
914
814
  # @return [true, false]
915
815
  #
916
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:146
816
+ # source://overcommit//lib/overcommit/git_repo.rb#146
917
817
  def initial_commit?; end
918
818
 
919
819
  # Returns the names of files in the given paths that are tracked by git.
@@ -923,31 +823,27 @@ module Overcommit::GitRepo
923
823
  # @param options [Hash] a customizable set of options
924
824
  # @return [Array<String>] list of absolute file paths
925
825
  #
926
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:110
927
- def list_files(paths = T.unsafe(nil), options = T.unsafe(nil))
928
- ;
929
- end
826
+ # source://overcommit//lib/overcommit/git_repo.rb#110
827
+ def list_files(paths = T.unsafe(nil), options = T.unsafe(nil)); end
930
828
 
931
829
  # Returns the names of all files that have been modified compared to HEAD.
932
830
  #
933
831
  # @param options [Hash]
934
832
  # @return [Array<String>] list of absolute file paths
935
833
  #
936
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:93
937
- def modified_files(options)
938
- ;
939
- end
834
+ # source://overcommit//lib/overcommit/git_repo.rb#93
835
+ def modified_files(options); end
940
836
 
941
837
  # Restore any relevant files that were present when repo was in the middle
942
838
  # of a cherry-pick.
943
839
  #
944
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:203
840
+ # source://overcommit//lib/overcommit/git_repo.rb#203
945
841
  def restore_cherry_pick_state; end
946
842
 
947
843
  # Restore any relevant files that were present when repo was in the middle
948
844
  # of a merge.
949
845
  #
950
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:183
846
+ # source://overcommit//lib/overcommit/git_repo.rb#183
951
847
  def restore_merge_state; end
952
848
 
953
849
  # Returns the submodules that have been staged for removal.
@@ -966,7 +862,7 @@ module Overcommit::GitRepo
966
862
  #
967
863
  # @raise [Overcommit::Exceptions::GitSubmoduleError] when
968
864
  #
969
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:231
865
+ # source://overcommit//lib/overcommit/git_repo.rb#231
970
866
  def staged_submodule_removals; end
971
867
 
972
868
  # Store any relevant files that are present when repo is in the middle of a
@@ -974,7 +870,7 @@ module Overcommit::GitRepo
974
870
  #
975
871
  # Restored via [#restore_cherry_pick_state].
976
872
  #
977
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:171
873
+ # source://overcommit//lib/overcommit/git_repo.rb#171
978
874
  def store_cherry_pick_state; end
979
875
 
980
876
  # Store any relevant files that are present when repo is in the middle of a
@@ -982,7 +878,7 @@ module Overcommit::GitRepo
982
878
  #
983
879
  # Restored via [#restore_merge_state].
984
880
  #
985
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:154
881
+ # source://overcommit//lib/overcommit/git_repo.rb#154
986
882
  def store_merge_state; end
987
883
 
988
884
  # Returns a list of SubmoduleStatus objects, one for each submodule in the
@@ -992,47 +888,41 @@ module Overcommit::GitRepo
992
888
  # @param options [Hash] a customizable set of options
993
889
  # @return [Array<SubmoduleStatus>]
994
890
  #
995
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:53
996
- def submodule_statuses(options = T.unsafe(nil))
997
- ;
998
- end
891
+ # source://overcommit//lib/overcommit/git_repo.rb#53
892
+ def submodule_statuses(options = T.unsafe(nil)); end
999
893
 
1000
894
  # Returns the current set of registered submodules.
1001
895
  #
1002
896
  # @param options [Hash]
1003
897
  # @return [Array<Overcommit::GitRepo::Submodule>]
1004
898
  #
1005
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:245
1006
- def submodules(options = T.unsafe(nil))
1007
- ;
1008
- end
899
+ # source://overcommit//lib/overcommit/git_repo.rb#245
900
+ def submodules(options = T.unsafe(nil)); end
1009
901
 
1010
902
  # Returns whether the specified file/path is tracked by this repository.
1011
903
  #
1012
904
  # @param path [String]
1013
905
  # @return [true, false]
1014
906
  #
1015
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:130
1016
- def tracked?(path)
1017
- ;
1018
- end
907
+ # source://overcommit//lib/overcommit/git_repo.rb#130
908
+ def tracked?(path); end
1019
909
  end
1020
910
  end
1021
911
 
1022
912
  # Regular expression used to extract diff ranges from hunks of diff output.
1023
913
  #
1024
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:12
914
+ # source://overcommit//lib/overcommit/git_repo.rb#12
1025
915
  Overcommit::GitRepo::DIFF_HUNK_REGEX = T.let(T.unsafe(nil), Regexp)
1026
916
 
1027
917
  # Regular expression used to extract information from lines of
1028
918
  # `git submodule status` output
1029
919
  #
1030
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:21
920
+ # source://overcommit//lib/overcommit/git_repo.rb#21
1031
921
  Overcommit::GitRepo::SUBMODULE_STATUS_REGEX = T.let(T.unsafe(nil), Regexp)
1032
922
 
1033
923
  # Contains information about a registered submodule.
1034
924
  #
1035
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:214
925
+ # source://overcommit//lib/overcommit/git_repo.rb#214
1036
926
  class Overcommit::GitRepo::Submodule < ::Struct
1037
927
  # Returns the value of attribute path
1038
928
  #
@@ -1043,9 +933,7 @@ class Overcommit::GitRepo::Submodule < ::Struct
1043
933
  #
1044
934
  # @param value [Object] the value to set the attribute path to.
1045
935
  # @return [Object] the newly set value
1046
- def path=(_)
1047
- ;
1048
- end
936
+ def path=(_); end
1049
937
 
1050
938
  # Returns the value of attribute url
1051
939
  #
@@ -1056,31 +944,21 @@ class Overcommit::GitRepo::Submodule < ::Struct
1056
944
  #
1057
945
  # @param value [Object] the value to set the attribute url to.
1058
946
  # @return [Object] the newly set value
1059
- def url=(_)
1060
- ;
1061
- end
947
+ def url=(_); end
1062
948
 
1063
949
  class << self
1064
- def [](*_arg0)
1065
- ;
1066
- end
1067
-
950
+ def [](*_arg0); end
1068
951
  def inspect; end
1069
-
1070
952
  def keyword_init?; end
1071
-
1072
953
  def members; end
1073
-
1074
- def new(*_arg0)
1075
- ;
1076
- end
954
+ def new(*_arg0); end
1077
955
  end
1078
956
  end
1079
957
 
1080
958
  # Struct encapsulating submodule information extracted from the
1081
959
  # output of `git submodule status`
1082
960
  #
1083
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:29
961
+ # source://overcommit//lib/overcommit/git_repo.rb#29
1084
962
  class Overcommit::GitRepo::SubmoduleStatus < ::Struct
1085
963
  # Returns the value of attribute describe
1086
964
  #
@@ -1091,15 +969,13 @@ class Overcommit::GitRepo::SubmoduleStatus < ::Struct
1091
969
  #
1092
970
  # @param value [Object] the value to set the attribute describe to.
1093
971
  # @return [Object] the newly set value
1094
- def describe=(_)
1095
- ;
1096
- end
972
+ def describe=(_); end
1097
973
 
1098
974
  # Returns whether the submodule reference has a merge conflict
1099
975
  #
1100
976
  # @return [Boolean]
1101
977
  #
1102
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:43
978
+ # source://overcommit//lib/overcommit/git_repo.rb#43
1103
979
  def merge_conflict?; end
1104
980
 
1105
981
  # Returns whether the submodule is out of date with the current
@@ -1108,7 +984,7 @@ class Overcommit::GitRepo::SubmoduleStatus < ::Struct
1108
984
  #
1109
985
  # @return [Boolean]
1110
986
  #
1111
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:38
987
+ # source://overcommit//lib/overcommit/git_repo.rb#38
1112
988
  def outdated?; end
1113
989
 
1114
990
  # Returns the value of attribute path
@@ -1120,9 +996,7 @@ class Overcommit::GitRepo::SubmoduleStatus < ::Struct
1120
996
  #
1121
997
  # @param value [Object] the value to set the attribute path to.
1122
998
  # @return [Object] the newly set value
1123
- def path=(_)
1124
- ;
1125
- end
999
+ def path=(_); end
1126
1000
 
1127
1001
  # Returns the value of attribute prefix
1128
1002
  #
@@ -1133,9 +1007,7 @@ class Overcommit::GitRepo::SubmoduleStatus < ::Struct
1133
1007
  #
1134
1008
  # @param value [Object] the value to set the attribute prefix to.
1135
1009
  # @return [Object] the newly set value
1136
- def prefix=(_)
1137
- ;
1138
- end
1010
+ def prefix=(_); end
1139
1011
 
1140
1012
  # Returns the value of attribute sha1
1141
1013
  #
@@ -1146,50 +1018,38 @@ class Overcommit::GitRepo::SubmoduleStatus < ::Struct
1146
1018
  #
1147
1019
  # @param value [Object] the value to set the attribute sha1 to.
1148
1020
  # @return [Object] the newly set value
1149
- def sha1=(_)
1150
- ;
1151
- end
1021
+ def sha1=(_); end
1152
1022
 
1153
1023
  # Returns whether the submodule has not been initialized
1154
1024
  #
1155
1025
  # @return [Boolean]
1156
1026
  #
1157
- # source://overcommit-0.59.1/lib/overcommit/git_repo.rb:31
1027
+ # source://overcommit//lib/overcommit/git_repo.rb#31
1158
1028
  def uninitialized?; end
1159
1029
 
1160
1030
  class << self
1161
- def [](*_arg0)
1162
- ;
1163
- end
1164
-
1031
+ def [](*_arg0); end
1165
1032
  def inspect; end
1166
-
1167
1033
  def keyword_init?; end
1168
-
1169
1034
  def members; end
1170
-
1171
- def new(*_arg0)
1172
- ;
1173
- end
1035
+ def new(*_arg0); end
1174
1036
  end
1175
1037
  end
1176
1038
 
1177
- # source://overcommit-0.59.1/lib/overcommit/constants.rb:5
1039
+ # source://overcommit//lib/overcommit/constants.rb#5
1178
1040
  Overcommit::HOME = T.let(T.unsafe(nil), String)
1179
1041
 
1180
- # source://overcommit-0.59.1/lib/overcommit/constants.rb:8
1042
+ # source://overcommit//lib/overcommit/constants.rb#9
1181
1043
  Overcommit::HOOK_DIRECTORY = T.let(T.unsafe(nil), String)
1182
1044
 
1183
1045
  # Container for top-level hook-related classes and constants.
1184
1046
  #
1185
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:7
1186
- module Overcommit::Hook
1187
- ;
1188
- end
1047
+ # source://overcommit//lib/overcommit/hook/base.rb#7
1048
+ module Overcommit::Hook; end
1189
1049
 
1190
1050
  # Functionality common to all hooks.
1191
1051
  #
1192
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:19
1052
+ # source://overcommit//lib/overcommit/hook/base.rb#19
1193
1053
  class Overcommit::Hook::Base
1194
1054
  extend ::Forwardable
1195
1055
 
@@ -1197,20 +1057,16 @@ class Overcommit::Hook::Base
1197
1057
  # @param context [Overcommit::HookContext]
1198
1058
  # @return [Base] a new instance of Base
1199
1059
  #
1200
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:27
1201
- def initialize(config, context)
1202
- ;
1203
- end
1060
+ # source://overcommit//lib/overcommit/hook/base.rb#27
1061
+ def initialize(config, context); end
1204
1062
 
1205
- # source://RUBY_ROOT/forwardable.rb:229
1206
- def all_files(*args, **_arg1, &block)
1207
- ;
1208
- end
1063
+ # source://forwardable/1.3.2/forwardable.rb#229
1064
+ def all_files(*args, **_arg1, &block); end
1209
1065
 
1210
1066
  # Gets a list of staged files that apply to this hook based on its
1211
1067
  # configured `include` and `exclude` lists.
1212
1068
  #
1213
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:165
1069
+ # source://overcommit//lib/overcommit/hook/base.rb#165
1214
1070
  def applicable_files; end
1215
1071
 
1216
1072
  # Return command to execute for this hook.
@@ -1224,25 +1080,25 @@ class Overcommit::Hook::Base
1224
1080
  #
1225
1081
  # @return [Array<String>]
1226
1082
  #
1227
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:141
1083
+ # source://overcommit//lib/overcommit/hook/base.rb#141
1228
1084
  def command; end
1229
1085
 
1230
1086
  # Returns the value of attribute config.
1231
1087
  #
1232
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:23
1088
+ # source://overcommit//lib/overcommit/hook/base.rb#23
1233
1089
  def config; end
1234
1090
 
1235
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:58
1091
+ # source://overcommit//lib/overcommit/hook/base.rb#58
1236
1092
  def description; end
1237
1093
 
1238
1094
  # @return [Boolean]
1239
1095
  #
1240
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:78
1096
+ # source://overcommit//lib/overcommit/hook/base.rb#78
1241
1097
  def enabled?; end
1242
1098
 
1243
1099
  # @return [Boolean]
1244
1100
  #
1245
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:82
1101
+ # source://overcommit//lib/overcommit/hook/base.rb#82
1246
1102
  def excluded?; end
1247
1103
 
1248
1104
  # Execute a command in a separate process.
@@ -1258,15 +1114,11 @@ class Overcommit::Hook::Base
1258
1114
  # @param options [Hash]
1259
1115
  # @return [#status, #stdout, #stderr] struct containing result of invocation
1260
1116
  #
1261
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:115
1262
- def execute(cmd, options = T.unsafe(nil))
1263
- ;
1264
- end
1117
+ # source://overcommit//lib/overcommit/hook/base.rb#115
1118
+ def execute(cmd, options = T.unsafe(nil)); end
1265
1119
 
1266
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:119
1267
- def execute_in_background(cmd)
1268
- ;
1269
- end
1120
+ # source://overcommit//lib/overcommit/hook/base.rb#119
1121
+ def execute_in_background(cmd); end
1270
1122
 
1271
1123
  # Return command line flags to be passed to the command.
1272
1124
  #
@@ -1283,64 +1135,60 @@ class Overcommit::Hook::Base
1283
1135
  #
1284
1136
  # @return [Array<String>]
1285
1137
  #
1286
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:159
1138
+ # source://overcommit//lib/overcommit/hook/base.rb#159
1287
1139
  def flags; end
1288
1140
 
1289
1141
  # @return [Boolean]
1290
1142
  #
1291
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:97
1292
- def in_path?(cmd)
1293
- ;
1294
- end
1143
+ # source://overcommit//lib/overcommit/hook/base.rb#97
1144
+ def in_path?(cmd); end
1295
1145
 
1296
1146
  # Gets a list of all files that apply to this hook based on its
1297
1147
  # configured `include` and `exclude` lists.
1298
1148
  #
1299
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:171
1149
+ # source://overcommit//lib/overcommit/hook/base.rb#171
1300
1150
  def included_files; end
1301
1151
 
1302
- # source://RUBY_ROOT/forwardable.rb:229
1303
- def modified_files(*args, **_arg1, &block)
1304
- ;
1305
- end
1152
+ # source://forwardable/1.3.2/forwardable.rb#229
1153
+ def modified_files(*args, **_arg1, &block); end
1306
1154
 
1307
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:54
1155
+ # source://overcommit//lib/overcommit/hook/base.rb#54
1308
1156
  def name; end
1309
1157
 
1310
1158
  # @return [Boolean]
1311
1159
  #
1312
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:66
1160
+ # source://overcommit//lib/overcommit/hook/base.rb#66
1313
1161
  def parallelize?; end
1314
1162
 
1315
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:70
1163
+ # source://overcommit//lib/overcommit/hook/base.rb#70
1316
1164
  def processors; end
1317
1165
 
1318
1166
  # @return [Boolean]
1319
1167
  #
1320
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:74
1168
+ # source://overcommit//lib/overcommit/hook/base.rb#74
1321
1169
  def quiet?; end
1322
1170
 
1323
1171
  # @return [Boolean]
1324
1172
  #
1325
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:62
1173
+ # source://overcommit//lib/overcommit/hook/base.rb#62
1326
1174
  def required?; end
1327
1175
 
1328
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:123
1176
+ # source://overcommit//lib/overcommit/hook/base.rb#123
1329
1177
  def required_executable; end
1330
1178
 
1331
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:127
1179
+ # source://overcommit//lib/overcommit/hook/base.rb#127
1332
1180
  def required_libraries; end
1333
1181
 
1334
1182
  # Runs the hook.
1335
1183
  #
1336
1184
  # @raise [NotImplementedError]
1337
1185
  #
1338
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:33
1186
+ # source://overcommit//lib/overcommit/hook/base.rb#33
1339
1187
  def run; end
1340
1188
 
1341
1189
  # @return [Boolean]
1342
1190
  #
1343
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:91
1191
+ # source://overcommit//lib/overcommit/hook/base.rb#91
1344
1192
  def run?; end
1345
1193
 
1346
1194
  # Runs the hook and transforms the status returned based on the hook's
@@ -1350,49 +1198,47 @@ class Overcommit::Hook::Base
1350
1198
  # implement `#run`, and we needed a wrapper step to transform the status
1351
1199
  # based on any custom configuration.
1352
1200
  #
1353
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:43
1201
+ # source://overcommit//lib/overcommit/hook/base.rb#43
1354
1202
  def run_and_transform; end
1355
1203
 
1356
1204
  # @return [Boolean]
1357
1205
  #
1358
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:86
1206
+ # source://overcommit//lib/overcommit/hook/base.rb#86
1359
1207
  def skip?; end
1360
1208
 
1361
1209
  private
1362
1210
 
1363
1211
  # @return [Boolean]
1364
1212
  #
1365
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:181
1366
- def applicable_file?(file)
1367
- ;
1368
- end
1213
+ # source://overcommit//lib/overcommit/hook/base.rb#181
1214
+ def applicable_file?(file); end
1369
1215
 
1370
1216
  # If the hook defines a required executable, check if it's in the path and
1371
1217
  # display the install command if one exists.
1372
1218
  #
1373
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:210
1219
+ # source://overcommit//lib/overcommit/hook/base.rb#210
1374
1220
  def check_for_executable; end
1375
1221
 
1376
1222
  # If the hook defines required library paths that it wants to load, attempt
1377
1223
  # to load them.
1378
1224
  #
1379
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:227
1225
+ # source://overcommit//lib/overcommit/hook/base.rb#227
1380
1226
  def check_for_libraries; end
1381
1227
 
1382
1228
  # Check for any required executables or libraries.
1383
1229
  #
1384
1230
  # Returns output if any requirements are not met.
1385
1231
  #
1386
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:204
1232
+ # source://overcommit//lib/overcommit/hook/base.rb#204
1387
1233
  def check_for_requirements; end
1388
1234
 
1389
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:290
1235
+ # source://overcommit//lib/overcommit/hook/base.rb#290
1390
1236
  def current_branch; end
1391
1237
 
1392
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:286
1238
+ # source://overcommit//lib/overcommit/hook/base.rb#286
1393
1239
  def exclude_branches; end
1394
1240
 
1395
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:217
1241
+ # source://overcommit//lib/overcommit/hook/base.rb#217
1396
1242
  def install_command_prompt; end
1397
1243
 
1398
1244
  # Converts the hook's return value into a canonical form of a tuple
@@ -1408,34 +1254,28 @@ class Overcommit::Hook::Base
1408
1254
  # @param hook_return_value [Symbol, Array<Symbol,String>, Array<Message>]
1409
1255
  # @return [Array<Symbol,String>] tuple of status and output
1410
1256
  #
1411
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:258
1412
- def process_hook_return_value(hook_return_value)
1413
- ;
1414
- end
1257
+ # source://overcommit//lib/overcommit/hook/base.rb#258
1258
+ def process_hook_return_value(hook_return_value); end
1415
1259
 
1416
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:177
1417
- def select_applicable(list)
1418
- ;
1419
- end
1260
+ # source://overcommit//lib/overcommit/hook/base.rb#177
1261
+ def select_applicable(list); end
1420
1262
 
1421
1263
  # Transforms the hook's status based on custom configuration.
1422
1264
  #
1423
1265
  # This allows users to change failures into warnings, or vice versa.
1424
1266
  #
1425
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:275
1426
- def transform_status(status)
1427
- ;
1428
- end
1267
+ # source://overcommit//lib/overcommit/hook/base.rb#275
1268
+ def transform_status(status); end
1429
1269
  end
1430
1270
 
1431
1271
  # Possible types of messages.
1432
1272
  #
1433
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:16
1273
+ # source://overcommit//lib/overcommit/hook/base.rb#16
1434
1274
  Overcommit::Hook::MESSAGE_TYPES = T.let(T.unsafe(nil), Array)
1435
1275
 
1436
1276
  # Helper containing metadata about error/warning messages returned by hooks.
1437
1277
  #
1438
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:9
1278
+ # source://overcommit//lib/overcommit/hook/base.rb#9
1439
1279
  class Overcommit::Hook::Message < ::Struct
1440
1280
  # Returns the value of attribute content
1441
1281
  #
@@ -1446,9 +1286,7 @@ class Overcommit::Hook::Message < ::Struct
1446
1286
  #
1447
1287
  # @param value [Object] the value to set the attribute content to.
1448
1288
  # @return [Object] the newly set value
1449
- def content=(_)
1450
- ;
1451
- end
1289
+ def content=(_); end
1452
1290
 
1453
1291
  # Returns the value of attribute file
1454
1292
  #
@@ -1459,9 +1297,7 @@ class Overcommit::Hook::Message < ::Struct
1459
1297
  #
1460
1298
  # @param value [Object] the value to set the attribute file to.
1461
1299
  # @return [Object] the newly set value
1462
- def file=(_)
1463
- ;
1464
- end
1300
+ def file=(_); end
1465
1301
 
1466
1302
  # Returns the value of attribute line
1467
1303
  #
@@ -1472,11 +1308,9 @@ class Overcommit::Hook::Message < ::Struct
1472
1308
  #
1473
1309
  # @param value [Object] the value to set the attribute line to.
1474
1310
  # @return [Object] the newly set value
1475
- def line=(_)
1476
- ;
1477
- end
1311
+ def line=(_); end
1478
1312
 
1479
- # source://overcommit-0.59.1/lib/overcommit/hook/base.rb:10
1313
+ # source://overcommit//lib/overcommit/hook/base.rb#10
1480
1314
  def to_s; end
1481
1315
 
1482
1316
  # Returns the value of attribute type
@@ -1488,36 +1322,24 @@ class Overcommit::Hook::Message < ::Struct
1488
1322
  #
1489
1323
  # @param value [Object] the value to set the attribute type to.
1490
1324
  # @return [Object] the newly set value
1491
- def type=(_)
1492
- ;
1493
- end
1325
+ def type=(_); end
1494
1326
 
1495
1327
  class << self
1496
- def [](*_arg0)
1497
- ;
1498
- end
1499
-
1328
+ def [](*_arg0); end
1500
1329
  def inspect; end
1501
-
1502
1330
  def keyword_init?; end
1503
-
1504
1331
  def members; end
1505
-
1506
- def new(*_arg0)
1507
- ;
1508
- end
1332
+ def new(*_arg0); end
1509
1333
  end
1510
1334
  end
1511
1335
 
1512
1336
  # Utility module which manages the creation of {HookContext}s.
1513
1337
  #
1514
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:3
1338
+ # source://overcommit//lib/overcommit/hook_context/base.rb#3
1515
1339
  module Overcommit::HookContext
1516
1340
  class << self
1517
- # source://overcommit-0.59.1/lib/overcommit/hook_context.rb:5
1518
- def create(hook_type, config, args, input)
1519
- ;
1520
- end
1341
+ # source://overcommit//lib/overcommit/hook_context.rb#5
1342
+ def create(hook_type, config, args, input); end
1521
1343
  end
1522
1344
  end
1523
1345
 
@@ -1533,7 +1355,7 @@ end
1533
1355
  #
1534
1356
  # @abstract
1535
1357
  #
1536
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:15
1358
+ # source://overcommit//lib/overcommit/hook_context/base.rb#15
1537
1359
  class Overcommit::HookContext::Base
1538
1360
  # Creates a hook context from the given configuration and input options.
1539
1361
  #
@@ -1542,16 +1364,14 @@ class Overcommit::HookContext::Base
1542
1364
  # @param input [IO] standard input stream
1543
1365
  # @return [Base] a new instance of Base
1544
1366
  #
1545
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:21
1546
- def initialize(config, args, input)
1547
- ;
1548
- end
1367
+ # source://overcommit//lib/overcommit/hook_context/base.rb#21
1368
+ def initialize(config, args, input); end
1549
1369
 
1550
1370
  # Returns the full list of files tracked by git
1551
1371
  #
1552
1372
  # @return [Array<String>]
1553
1373
  #
1554
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:87
1374
+ # source://overcommit//lib/overcommit/hook_context/base.rb#87
1555
1375
  def all_files; end
1556
1376
 
1557
1377
  # Resets the environment to an appropriate state.
@@ -1560,7 +1380,7 @@ class Overcommit::HookContext::Base
1560
1380
  # Different hook types can perform different cleanup operations, which are
1561
1381
  # intended to "undo" the results of the call to {#setup_environment}.
1562
1382
  #
1563
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:70
1383
+ # source://overcommit//lib/overcommit/hook_context/base.rb#70
1564
1384
  def cleanup_environment; end
1565
1385
 
1566
1386
  # Executes a command as if it were a regular git hook, passing all
@@ -1569,30 +1389,28 @@ class Overcommit::HookContext::Base
1569
1389
  # This is intended to be used by ad hoc hooks so developers can link up
1570
1390
  # their existing git hooks with Overcommit.
1571
1391
  #
1572
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:32
1573
- def execute_hook(command)
1574
- ;
1575
- end
1392
+ # source://overcommit//lib/overcommit/hook_context/base.rb#32
1393
+ def execute_hook(command); end
1576
1394
 
1577
1395
  # Returns the camel-cased type of this hook (e.g. PreCommit)
1578
1396
  #
1579
1397
  # @return [String]
1580
1398
  #
1581
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:39
1399
+ # source://overcommit//lib/overcommit/hook_context/base.rb#39
1582
1400
  def hook_class_name; end
1583
1401
 
1584
1402
  # Returns the actual name of the hook script being run (e.g. pre-commit).
1585
1403
  #
1586
1404
  # @return [String]
1587
1405
  #
1588
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:53
1406
+ # source://overcommit//lib/overcommit/hook_context/base.rb#53
1589
1407
  def hook_script_name; end
1590
1408
 
1591
1409
  # Returns the snake-cased type of this hook (e.g. pre_commit)
1592
1410
  #
1593
1411
  # @return [String]
1594
1412
  #
1595
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:46
1413
+ # source://overcommit//lib/overcommit/hook_context/base.rb#46
1596
1414
  def hook_type_name; end
1597
1415
 
1598
1416
  # Returns an array of lines passed to the hook via the standard input
@@ -1600,7 +1418,7 @@ class Overcommit::HookContext::Base
1600
1418
  #
1601
1419
  # @return [Array<String>]
1602
1420
  #
1603
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:103
1421
+ # source://overcommit//lib/overcommit/hook_context/base.rb#103
1604
1422
  def input_lines; end
1605
1423
 
1606
1424
  # Returns the contents of the entire standard input stream that were passed
@@ -1608,7 +1426,7 @@ class Overcommit::HookContext::Base
1608
1426
  #
1609
1427
  # @return [String]
1610
1428
  #
1611
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:95
1429
+ # source://overcommit//lib/overcommit/hook_context/base.rb#95
1612
1430
  def input_string; end
1613
1431
 
1614
1432
  # Returns a list of files that have been modified.
@@ -1618,14 +1436,14 @@ class Overcommit::HookContext::Base
1618
1436
  #
1619
1437
  # @return [Array<String>]
1620
1438
  #
1621
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:80
1439
+ # source://overcommit//lib/overcommit/hook_context/base.rb#80
1622
1440
  def modified_files; end
1623
1441
 
1624
1442
  # Returns a message to display on failure.
1625
1443
  #
1626
1444
  # @return [String]
1627
1445
  #
1628
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:110
1446
+ # source://overcommit//lib/overcommit/hook_context/base.rb#110
1629
1447
  def post_fail_message; end
1630
1448
 
1631
1449
  # Initializes anything related to the environment.
@@ -1633,7 +1451,7 @@ class Overcommit::HookContext::Base
1633
1451
  # This is called before the hooks are run by the [HookRunner]. Different
1634
1452
  # hook types can perform different setup.
1635
1453
  #
1636
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:61
1454
+ # source://overcommit//lib/overcommit/hook_context/base.rb#61
1637
1455
  def setup_environment; end
1638
1456
 
1639
1457
  private
@@ -1642,45 +1460,35 @@ class Overcommit::HookContext::Base
1642
1460
  # directory as part of an amendment, since the symlink will still appear as
1643
1461
  # a file, but the actual working tree will have a directory.
1644
1462
  #
1645
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:133
1646
- def filter_directories(modified_files)
1647
- ;
1648
- end
1463
+ # source://overcommit//lib/overcommit/hook_context/base.rb#133
1464
+ def filter_directories(modified_files); end
1649
1465
 
1650
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:116
1651
- def filter_modified_files(modified_files)
1652
- ;
1653
- end
1466
+ # source://overcommit//lib/overcommit/hook_context/base.rb#116
1467
+ def filter_modified_files(modified_files); end
1654
1468
 
1655
1469
  # Filter out non-existent files (unless it's a broken symlink, in which case
1656
1470
  # it's a file that points to a non-existent file). This could happen if a
1657
1471
  # file was renamed as part of an amendment, leading to the old file no
1658
1472
  # longer existing.
1659
1473
  #
1660
- # source://overcommit-0.59.1/lib/overcommit/hook_context/base.rb:124
1661
- def filter_nonexistent(modified_files)
1662
- ;
1663
- end
1474
+ # source://overcommit//lib/overcommit/hook_context/base.rb#124
1475
+ def filter_nonexistent(modified_files); end
1664
1476
  end
1665
1477
 
1666
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/base.rb:3
1667
- module Overcommit::HookLoader
1668
- ;
1669
- end
1478
+ # source://overcommit//lib/overcommit/hook_loader/base.rb#3
1479
+ module Overcommit::HookLoader; end
1670
1480
 
1671
1481
  # Responsible for loading hooks from a file.
1672
1482
  #
1673
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/base.rb:5
1483
+ # source://overcommit//lib/overcommit/hook_loader/base.rb#5
1674
1484
  class Overcommit::HookLoader::Base
1675
1485
  # @param config [Overcommit::Configuration]
1676
1486
  # @param context [Overcommit::HookContext]
1677
1487
  # @param logger [Overcommit::Logger]
1678
1488
  # @return [Base] a new instance of Base
1679
1489
  #
1680
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/base.rb:9
1681
- def initialize(config, context, logger)
1682
- ;
1683
- end
1490
+ # source://overcommit//lib/overcommit/hook_loader/base.rb#9
1491
+ def initialize(config, context, logger); end
1684
1492
 
1685
1493
  # When implemented in subclasses, loads the hooks for which that subclass is
1686
1494
  # responsible.
@@ -1688,72 +1496,68 @@ class Overcommit::HookLoader::Base
1688
1496
  # @raise [NotImplementedError]
1689
1497
  # @return [Array<Hook>]
1690
1498
  #
1691
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/base.rb:19
1499
+ # source://overcommit//lib/overcommit/hook_loader/base.rb#19
1692
1500
  def load_hooks; end
1693
1501
 
1694
1502
  private
1695
1503
 
1696
1504
  # Load and return a {Hook} from a CamelCase hook name.
1697
1505
  #
1698
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/base.rb:28
1699
- def create_hook(hook_name)
1700
- ;
1701
- end
1506
+ # source://overcommit//lib/overcommit/hook_loader/base.rb#28
1507
+ def create_hook(hook_name); end
1702
1508
 
1703
1509
  # Returns the value of attribute log.
1704
1510
  #
1705
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/base.rb:25
1511
+ # source://overcommit//lib/overcommit/hook_loader/base.rb#25
1706
1512
  def log; end
1707
1513
  end
1708
1514
 
1709
1515
  # Responsible for loading hooks that ship with Overcommit.
1710
1516
  #
1711
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/built_in_hook_loader.rb:5
1517
+ # source://overcommit//lib/overcommit/hook_loader/built_in_hook_loader.rb#5
1712
1518
  class Overcommit::HookLoader::BuiltInHookLoader < ::Overcommit::HookLoader::Base
1713
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/built_in_hook_loader.rb:6
1519
+ # source://overcommit//lib/overcommit/hook_loader/built_in_hook_loader.rb#6
1714
1520
  def load_hooks; end
1715
1521
  end
1716
1522
 
1717
1523
  # Responsible for loading hooks that are specific to the repository Overcommit
1718
1524
  # is running in.
1719
1525
  #
1720
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:8
1526
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#8
1721
1527
  class Overcommit::HookLoader::PluginHookLoader < ::Overcommit::HookLoader::Base
1722
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:9
1528
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#9
1723
1529
  def load_hooks; end
1724
1530
 
1725
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:24
1531
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#24
1726
1532
  def update_signatures; end
1727
1533
 
1728
1534
  private
1729
1535
 
1730
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:46
1536
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#46
1731
1537
  def ad_hoc_hook_names; end
1732
1538
 
1733
1539
  # @raise [Overcommit::Exceptions::InvalidHookSignature]
1734
1540
  #
1735
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:56
1541
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#56
1736
1542
  def check_for_modified_plugins; end
1737
1543
 
1738
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:77
1739
- def create_ad_hoc_hook(hook_name)
1740
- ;
1741
- end
1544
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#77
1545
+ def create_ad_hoc_hook(hook_name); end
1742
1546
 
1743
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:50
1547
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#50
1744
1548
  def modified_plugins; end
1745
1549
 
1746
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:40
1550
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#40
1747
1551
  def plugin_hook_names; end
1748
1552
 
1749
- # source://overcommit-0.59.1/lib/overcommit/hook_loader/plugin_hook_loader.rb:35
1553
+ # source://overcommit//lib/overcommit/hook_loader/plugin_hook_loader.rb#35
1750
1554
  def plugin_paths; end
1751
1555
  end
1752
1556
 
1753
1557
  # Responsible for loading the hooks the repository has configured and running
1754
1558
  # them, collecting and displaying the results.
1755
1559
  #
1756
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:6
1560
+ # source://overcommit//lib/overcommit/hook_runner.rb#6
1757
1561
  class Overcommit::HookRunner
1758
1562
  # @param config [Overcommit::Configuration]
1759
1563
  # @param logger [Overcommit::Logger]
@@ -1761,80 +1565,66 @@ class Overcommit::HookRunner
1761
1565
  # @param printer [Overcommit::Printer]
1762
1566
  # @return [HookRunner] a new instance of HookRunner
1763
1567
  #
1764
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:11
1765
- def initialize(config, logger, context, printer)
1766
- ;
1767
- end
1568
+ # source://overcommit//lib/overcommit/hook_runner.rb#11
1569
+ def initialize(config, logger, context, printer); end
1768
1570
 
1769
1571
  # Loads and runs the hooks registered for this {HookRunner}.
1770
1572
  #
1771
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:24
1573
+ # source://overcommit//lib/overcommit/hook_runner.rb#24
1772
1574
  def run; end
1773
1575
 
1774
1576
  private
1775
1577
 
1776
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:93
1578
+ # source://overcommit//lib/overcommit/hook_runner.rb#93
1777
1579
  def consume; end
1778
1580
 
1779
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:199
1581
+ # source://overcommit//lib/overcommit/hook_runner.rb#199
1780
1582
  def load_hooks; end
1781
1583
 
1782
1584
  # Returns the value of attribute log.
1783
1585
  #
1784
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:54
1586
+ # source://overcommit//lib/overcommit/hook_runner.rb#54
1785
1587
  def log; end
1786
1588
 
1787
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:143
1589
+ # source://overcommit//lib/overcommit/hook_runner.rb#143
1788
1590
  def print_results; end
1789
1591
 
1790
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:139
1791
- def processors_for_hook(hook)
1792
- ;
1793
- end
1592
+ # source://overcommit//lib/overcommit/hook_runner.rb#139
1593
+ def processors_for_hook(hook); end
1794
1594
 
1795
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:128
1796
- def release_slot(hook)
1797
- ;
1798
- end
1595
+ # source://overcommit//lib/overcommit/hook_runner.rb#128
1596
+ def release_slot(hook); end
1799
1597
 
1800
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:155
1801
- def run_hook(hook)
1802
- ;
1803
- end
1598
+ # source://overcommit//lib/overcommit/hook_runner.rb#155
1599
+ def run_hook(hook); end
1804
1600
 
1805
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:56
1601
+ # source://overcommit//lib/overcommit/hook_runner.rb#56
1806
1602
  def run_hooks; end
1807
1603
 
1808
1604
  # @return [Boolean]
1809
1605
  #
1810
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:183
1811
- def should_skip?(hook)
1812
- ;
1813
- end
1606
+ # source://overcommit//lib/overcommit/hook_runner.rb#183
1607
+ def should_skip?(hook); end
1814
1608
 
1815
- # source://overcommit-0.59.1/lib/overcommit/hook_runner.rb:102
1816
- def wait_for_slot(hook)
1817
- ;
1818
- end
1609
+ # source://overcommit//lib/overcommit/hook_runner.rb#102
1610
+ def wait_for_slot(hook); end
1819
1611
  end
1820
1612
 
1821
1613
  # Calculates, stores, and retrieves stored signatures of hook plugins.
1822
1614
  #
1823
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:5
1615
+ # source://overcommit//lib/overcommit/hook_signer.rb#5
1824
1616
  class Overcommit::HookSigner
1825
1617
  # @param hook_name [String] name of the hook
1826
1618
  # @param config [Overcommit::Configuration]
1827
1619
  # @param context [Overcommit::HookContext]
1828
1620
  # @return [HookSigner] a new instance of HookSigner
1829
1621
  #
1830
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:15
1831
- def initialize(hook_name, config, context)
1832
- ;
1833
- end
1622
+ # source://overcommit//lib/overcommit/hook_signer.rb#15
1623
+ def initialize(hook_name, config, context); end
1834
1624
 
1835
1625
  # Returns the value of attribute hook_name.
1836
1626
  #
1837
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:6
1627
+ # source://overcommit//lib/overcommit/hook_signer.rb#6
1838
1628
  def hook_name; end
1839
1629
 
1840
1630
  # Returns the path of the file that should be incorporated into this hooks
@@ -1842,32 +1632,30 @@ class Overcommit::HookSigner
1842
1632
  #
1843
1633
  # @return [String]
1844
1634
  #
1845
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:25
1635
+ # source://overcommit//lib/overcommit/hook_signer.rb#25
1846
1636
  def hook_path; end
1847
1637
 
1848
1638
  # @return [Boolean]
1849
1639
  #
1850
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:53
1851
- def signable_file?(file)
1852
- ;
1853
- end
1640
+ # source://overcommit//lib/overcommit/hook_signer.rb#53
1641
+ def signable_file?(file); end
1854
1642
 
1855
1643
  # Return whether the signature for this hook has changed since it was last
1856
1644
  # calculated.
1857
1645
  #
1858
1646
  # @return [true, false]
1859
1647
  #
1860
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:65
1648
+ # source://overcommit//lib/overcommit/hook_signer.rb#65
1861
1649
  def signature_changed?; end
1862
1650
 
1863
1651
  # Update the current stored signature for this hook.
1864
1652
  #
1865
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:70
1653
+ # source://overcommit//lib/overcommit/hook_signer.rb#70
1866
1654
  def update_signature!; end
1867
1655
 
1868
1656
  private
1869
1657
 
1870
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:101
1658
+ # source://overcommit//lib/overcommit/hook_signer.rb#101
1871
1659
  def hook_contents; end
1872
1660
 
1873
1661
  # Calculates a hash of a hook using a combination of its configuration and
@@ -1876,213 +1664,184 @@ class Overcommit::HookSigner
1876
1664
  # This way, if either the plugin code changes or its configuration changes,
1877
1665
  # the hash will change and we can alert the user to this change.
1878
1666
  #
1879
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:88
1667
+ # source://overcommit//lib/overcommit/hook_signer.rb#88
1880
1668
  def signature; end
1881
1669
 
1882
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:120
1670
+ # source://overcommit//lib/overcommit/hook_signer.rb#120
1883
1671
  def signature_config_key; end
1884
1672
 
1885
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:105
1673
+ # source://overcommit//lib/overcommit/hook_signer.rb#105
1886
1674
  def stored_signature; end
1887
1675
  end
1888
1676
 
1889
1677
  # We don't want to include the skip setting as it is set by Overcommit
1890
1678
  # itself
1891
1679
  #
1892
- # source://overcommit-0.59.1/lib/overcommit/hook_signer.rb:10
1680
+ # source://overcommit//lib/overcommit/hook_signer.rb#10
1893
1681
  Overcommit::HookSigner::IGNORED_CONFIG_KEYS = T.let(T.unsafe(nil), Array)
1894
1682
 
1895
1683
  # Manages the installation of Overcommit hooks in a git repository.
1896
1684
  #
1897
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:7
1685
+ # source://overcommit//lib/overcommit/installer.rb#7
1898
1686
  class Overcommit::Installer
1899
1687
  # @return [Installer] a new instance of Installer
1900
1688
  #
1901
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:11
1902
- def initialize(logger)
1903
- ;
1904
- end
1689
+ # source://overcommit//lib/overcommit/installer.rb#11
1690
+ def initialize(logger); end
1905
1691
 
1906
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:15
1907
- def run(target, options)
1908
- ;
1909
- end
1692
+ # source://overcommit//lib/overcommit/installer.rb#15
1693
+ def run(target, options); end
1910
1694
 
1911
1695
  private
1912
1696
 
1913
1697
  # @return [Boolean]
1914
1698
  #
1915
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:125
1916
- def can_replace_file?(file)
1917
- ;
1918
- end
1699
+ # source://overcommit//lib/overcommit/installer.rb#125
1700
+ def can_replace_file?(file); end
1919
1701
 
1920
1702
  # Returns the configuration for this repository.
1921
1703
  #
1922
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:190
1923
- def config(options = T.unsafe(nil))
1924
- ;
1925
- end
1704
+ # source://overcommit//lib/overcommit/installer.rb#190
1705
+ def config(options = T.unsafe(nil)); end
1926
1706
 
1927
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:81
1928
- def ensure_directory(path)
1929
- ;
1930
- end
1707
+ # source://overcommit//lib/overcommit/installer.rb#81
1708
+ def ensure_directory(path); end
1931
1709
 
1932
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:69
1710
+ # source://overcommit//lib/overcommit/installer.rb#69
1933
1711
  def hooks_path; end
1934
1712
 
1935
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:32
1713
+ # source://overcommit//lib/overcommit/installer.rb#32
1936
1714
  def install; end
1937
1715
 
1938
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:110
1716
+ # source://overcommit//lib/overcommit/installer.rb#110
1939
1717
  def install_hook_files; end
1940
1718
 
1941
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:101
1719
+ # source://overcommit//lib/overcommit/installer.rb#101
1942
1720
  def install_master_hook; end
1943
1721
 
1944
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:173
1722
+ # source://overcommit//lib/overcommit/installer.rb#173
1945
1723
  def install_starter_config; end
1946
1724
 
1947
1725
  # Returns the value of attribute log.
1948
1726
  #
1949
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:30
1727
+ # source://overcommit//lib/overcommit/installer.rb#30
1950
1728
  def log; end
1951
1729
 
1952
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:77
1730
+ # source://overcommit//lib/overcommit/installer.rb#77
1953
1731
  def master_hook_install_path; end
1954
1732
 
1955
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:73
1733
+ # source://overcommit//lib/overcommit/installer.rb#73
1956
1734
  def old_hooks_path; end
1957
1735
 
1958
1736
  # @return [Boolean]
1959
1737
  #
1960
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:181
1961
- def overcommit_hook?(file)
1962
- ;
1963
- end
1738
+ # source://overcommit//lib/overcommit/installer.rb#181
1739
+ def overcommit_hook?(file); end
1964
1740
 
1965
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:131
1741
+ # source://overcommit//lib/overcommit/installer.rb#131
1966
1742
  def preserve_old_hooks; end
1967
1743
 
1968
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:147
1744
+ # source://overcommit//lib/overcommit/installer.rb#147
1969
1745
  def restore_old_hooks; end
1970
1746
 
1971
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:47
1747
+ # source://overcommit//lib/overcommit/installer.rb#47
1972
1748
  def uninstall; end
1973
1749
 
1974
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:163
1750
+ # source://overcommit//lib/overcommit/installer.rb#163
1975
1751
  def uninstall_hook_files; end
1976
1752
 
1977
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:106
1753
+ # source://overcommit//lib/overcommit/installer.rb#106
1978
1754
  def uninstall_master_hook; end
1979
1755
 
1980
1756
  # @return [true, false] whether the hooks were updated
1981
1757
  #
1982
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:58
1758
+ # source://overcommit//lib/overcommit/installer.rb#58
1983
1759
  def update; end
1984
1760
 
1985
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:85
1761
+ # source://overcommit//lib/overcommit/installer.rb#85
1986
1762
  def validate_target; end
1987
1763
  end
1988
1764
 
1989
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:9
1765
+ # source://overcommit//lib/overcommit/installer.rb#9
1990
1766
  Overcommit::Installer::MASTER_HOOK = T.let(T.unsafe(nil), String)
1991
1767
 
1992
- # source://overcommit-0.59.1/lib/overcommit/installer.rb:8
1768
+ # source://overcommit//lib/overcommit/installer.rb#8
1993
1769
  Overcommit::Installer::TEMPLATE_DIRECTORY = T.let(T.unsafe(nil), String)
1994
1770
 
1771
+ # source://overcommit//lib/overcommit/constants.rb#7
1772
+ Overcommit::LOCAL_CONFIG_FILE_NAME = T.let(T.unsafe(nil), String)
1773
+
1995
1774
  # Encapsulates all communication to an output source.
1996
1775
  #
1997
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:5
1776
+ # source://overcommit//lib/overcommit/logger.rb#5
1998
1777
  class Overcommit::Logger
1999
1778
  # Creates a logger that will write to the given output stream.
2000
1779
  #
2001
1780
  # @param out [IO]
2002
1781
  # @return [Logger] a new instance of Logger
2003
1782
  #
2004
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:14
2005
- def initialize(out)
2006
- ;
2007
- end
1783
+ # source://overcommit//lib/overcommit/logger.rb#14
1784
+ def initialize(out); end
2008
1785
 
2009
1786
  # Write a line of output that is intended to be emphasized.
2010
1787
  #
2011
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:52
2012
- def bold(*args)
2013
- ;
2014
- end
1788
+ # source://overcommit//lib/overcommit/logger.rb#52
1789
+ def bold(*args); end
2015
1790
 
2016
1791
  # Write a line of output indicating a problem or error which is emphasized
2017
1792
  # over a regular problem or error.
2018
1793
  #
2019
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:63
2020
- def bold_error(*args)
2021
- ;
2022
- end
1794
+ # source://overcommit//lib/overcommit/logger.rb#63
1795
+ def bold_error(*args); end
2023
1796
 
2024
1797
  # Write a line of output indicating a potential cause for concern, but with
2025
1798
  # greater emphasize compared to other warnings.
2026
1799
  #
2027
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:80
2028
- def bold_warning(*args)
2029
- ;
2030
- end
1800
+ # source://overcommit//lib/overcommit/logger.rb#80
1801
+ def bold_warning(*args); end
2031
1802
 
2032
1803
  # Write a line of output if debug mode is enabled.
2033
1804
  #
2034
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:47
2035
- def debug(*args)
2036
- ;
2037
- end
1805
+ # source://overcommit//lib/overcommit/logger.rb#47
1806
+ def debug(*args); end
2038
1807
 
2039
1808
  # Write a line of output indicating a problem or error.
2040
1809
  #
2041
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:57
2042
- def error(*args)
2043
- ;
2044
- end
1810
+ # source://overcommit//lib/overcommit/logger.rb#57
1811
+ def error(*args); end
2045
1812
 
2046
1813
  # Flushes the [IO] object for partial lines
2047
1814
  #
2048
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:35
1815
+ # source://overcommit//lib/overcommit/logger.rb#35
2049
1816
  def flush; end
2050
1817
 
2051
1818
  # Write a line of output.
2052
1819
  #
2053
1820
  # A newline character will always be appended.
2054
1821
  #
2055
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:42
2056
- def log(*args)
2057
- ;
2058
- end
1822
+ # source://overcommit//lib/overcommit/logger.rb#42
1823
+ def log(*args); end
2059
1824
 
2060
1825
  # Prints a newline character (alias for readability).
2061
1826
  #
2062
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:30
1827
+ # source://overcommit//lib/overcommit/logger.rb#30
2063
1828
  def newline; end
2064
1829
 
2065
1830
  # Write output without a trailing newline.
2066
1831
  #
2067
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:25
2068
- def partial(*args)
2069
- ;
2070
- end
1832
+ # source://overcommit//lib/overcommit/logger.rb#25
1833
+ def partial(*args); end
2071
1834
 
2072
1835
  # Write a line of output indicating a successful or noteworthy event.
2073
1836
  #
2074
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:68
2075
- def success(*args)
2076
- ;
2077
- end
1837
+ # source://overcommit//lib/overcommit/logger.rb#68
1838
+ def success(*args); end
2078
1839
 
2079
1840
  # Write a line of output indicating a potential cause for concern, but not
2080
1841
  # an actual error.
2081
1842
  #
2082
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:74
2083
- def warning(*args)
2084
- ;
2085
- end
1843
+ # source://overcommit//lib/overcommit/logger.rb#74
1844
+ def warning(*args); end
2086
1845
 
2087
1846
  private
2088
1847
 
@@ -2093,15 +1852,13 @@ class Overcommit::Logger
2093
1852
  # @param str [String] string to wrap
2094
1853
  # @param partial [true, false] whether to omit a newline
2095
1854
  #
2096
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:92
2097
- def color(code, str, partial = T.unsafe(nil))
2098
- ;
2099
- end
1855
+ # source://overcommit//lib/overcommit/logger.rb#92
1856
+ def color(code, str, partial = T.unsafe(nil)); end
2100
1857
 
2101
1858
  class << self
2102
1859
  # Helper for creating a logger which outputs nothing.
2103
1860
  #
2104
- # source://overcommit-0.59.1/lib/overcommit/logger.rb:7
1861
+ # source://overcommit//lib/overcommit/logger.rb#7
2105
1862
  def silent; end
2106
1863
  end
2107
1864
  end
@@ -2113,243 +1870,207 @@ end
2113
1870
  # output tuple from an array of {Overcommit::Hook::Message}s, respecting the
2114
1871
  # configuration settings for the given hook.
2115
1872
  #
2116
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:10
1873
+ # source://overcommit//lib/overcommit/message_processor.rb#10
2117
1874
  class Overcommit::MessageProcessor
2118
1875
  # @param hook [Overcommit::Hook::Base]
2119
1876
  # @param unmodified_lines_setting [String] how to treat messages on
2120
1877
  # unmodified lines
2121
1878
  # @return [MessageProcessor] a new instance of MessageProcessor
2122
1879
  #
2123
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:21
2124
- def initialize(hook, unmodified_lines_setting)
2125
- ;
2126
- end
1880
+ # source://overcommit//lib/overcommit/message_processor.rb#21
1881
+ def initialize(hook, unmodified_lines_setting); end
2127
1882
 
2128
1883
  # Returns a hook status/output tuple from the messages this processor was
2129
1884
  # initialized with.
2130
1885
  #
2131
1886
  # @return [Array<Symbol,String>]
2132
1887
  #
2133
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:30
2134
- def hook_result(messages)
2135
- ;
2136
- end
1888
+ # source://overcommit//lib/overcommit/message_processor.rb#30
1889
+ def hook_result(messages); end
2137
1890
 
2138
1891
  private
2139
1892
 
2140
1893
  # Returns status and output for messages assuming no special treatment of
2141
1894
  # messages occurring on unmodified lines.
2142
1895
  #
2143
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:101
2144
- def basic_status_and_output(messages)
2145
- ;
2146
- end
1896
+ # source://overcommit//lib/overcommit/message_processor.rb#101
1897
+ def basic_status_and_output(messages); end
2147
1898
 
2148
1899
  # @return [Boolean]
2149
1900
  #
2150
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:95
2151
- def can_upgrade_to_passing?(status, warning_messages)
2152
- ;
2153
- end
1901
+ # source://overcommit//lib/overcommit/message_processor.rb#95
1902
+ def can_upgrade_to_passing?(status, warning_messages); end
2154
1903
 
2155
1904
  # @return [Boolean]
2156
1905
  #
2157
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:91
2158
- def can_upgrade_to_warning?(status, error_messages)
2159
- ;
2160
- end
1906
+ # source://overcommit//lib/overcommit/message_processor.rb#91
1907
+ def can_upgrade_to_warning?(status, error_messages); end
2161
1908
 
2162
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:44
2163
- def handle_modified_lines(messages, status)
2164
- ;
2165
- end
1909
+ # source://overcommit//lib/overcommit/message_processor.rb#44
1910
+ def handle_modified_lines(messages, status); end
2166
1911
 
2167
1912
  # @return [Boolean]
2168
1913
  #
2169
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:141
2170
- def message_on_modified_line?(message)
2171
- ;
2172
- end
1914
+ # source://overcommit//lib/overcommit/message_processor.rb#141
1915
+ def message_on_modified_line?(message); end
2173
1916
 
2174
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:119
2175
- def print_messages(messages, error_heading, warning_heading)
2176
- ;
2177
- end
1917
+ # source://overcommit//lib/overcommit/message_processor.rb#119
1918
+ def print_messages(messages, error_heading, warning_heading); end
2178
1919
 
2179
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:134
2180
- def remove_ignored_messages(messages)
2181
- ;
2182
- end
1920
+ # source://overcommit//lib/overcommit/message_processor.rb#134
1921
+ def remove_ignored_messages(messages); end
2183
1922
 
2184
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:73
2185
- def transform_status(status, messages_on_modified_lines)
2186
- ;
2187
- end
1923
+ # source://overcommit//lib/overcommit/message_processor.rb#73
1924
+ def transform_status(status, messages_on_modified_lines); end
2188
1925
  end
2189
1926
 
2190
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:15
1927
+ # source://overcommit//lib/overcommit/message_processor.rb#15
2191
1928
  Overcommit::MessageProcessor::ERRORS_GENERIC_HEADER = T.let(T.unsafe(nil), String)
2192
1929
 
2193
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:11
1930
+ # source://overcommit//lib/overcommit/message_processor.rb#11
2194
1931
  Overcommit::MessageProcessor::ERRORS_MODIFIED_HEADER = T.let(T.unsafe(nil), String)
2195
1932
 
2196
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:13
1933
+ # source://overcommit//lib/overcommit/message_processor.rb#13
2197
1934
  Overcommit::MessageProcessor::ERRORS_UNMODIFIED_HEADER = T.let(T.unsafe(nil), String)
2198
1935
 
2199
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:16
1936
+ # source://overcommit//lib/overcommit/message_processor.rb#16
2200
1937
  Overcommit::MessageProcessor::WARNINGS_GENERIC_HEADER = T.let(T.unsafe(nil), String)
2201
1938
 
2202
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:12
1939
+ # source://overcommit//lib/overcommit/message_processor.rb#12
2203
1940
  Overcommit::MessageProcessor::WARNINGS_MODIFIED_HEADER = T.let(T.unsafe(nil), String)
2204
1941
 
2205
- # source://overcommit-0.59.1/lib/overcommit/message_processor.rb:14
1942
+ # source://overcommit//lib/overcommit/message_processor.rb#14
2206
1943
  Overcommit::MessageProcessor::WARNINGS_UNMODIFIED_HEADER = T.let(T.unsafe(nil), String)
2207
1944
 
2208
1945
  # Methods relating to the current operating system
2209
1946
  #
2210
- # source://overcommit-0.59.1/lib/overcommit/os.rb:7
1947
+ # source://overcommit//lib/overcommit/os.rb#7
2211
1948
  module Overcommit::OS
2212
1949
  class << self
2213
1950
  # @return [Boolean]
2214
1951
  #
2215
- # source://overcommit-0.59.1/lib/overcommit/os.rb:13
1952
+ # source://overcommit//lib/overcommit/os.rb#13
2216
1953
  def cygwin?; end
2217
1954
 
2218
1955
  # @return [Boolean]
2219
1956
  #
2220
- # source://overcommit-0.59.1/lib/overcommit/os.rb:25
1957
+ # source://overcommit//lib/overcommit/os.rb#25
2221
1958
  def linux?; end
2222
1959
 
2223
1960
  # @return [Boolean]
2224
1961
  #
2225
- # source://overcommit-0.59.1/lib/overcommit/os.rb:17
1962
+ # source://overcommit//lib/overcommit/os.rb#17
2226
1963
  def mac?; end
2227
1964
 
2228
1965
  # @return [Boolean]
2229
1966
  #
2230
- # source://overcommit-0.59.1/lib/overcommit/os.rb:21
1967
+ # source://overcommit//lib/overcommit/os.rb#21
2231
1968
  def unix?; end
2232
1969
 
2233
1970
  # @return [Boolean]
2234
1971
  #
2235
- # source://overcommit-0.59.1/lib/overcommit/os.rb:9
1972
+ # source://overcommit//lib/overcommit/os.rb#9
2236
1973
  def windows?; end
2237
1974
 
2238
1975
  private
2239
1976
 
2240
- # source://overcommit-0.59.1/lib/overcommit/os.rb:31
1977
+ # source://overcommit//lib/overcommit/os.rb#31
2241
1978
  def host_os; end
2242
1979
  end
2243
1980
  end
2244
1981
 
2245
- # source://overcommit-0.59.1/lib/overcommit/os.rb:36
1982
+ # source://overcommit//lib/overcommit/os.rb#36
2246
1983
  Overcommit::OS::SEPARATOR = T.let(T.unsafe(nil), String)
2247
1984
 
2248
1985
  # Provide a set of callbacks which can be executed as events occur during the
2249
1986
  # course of {HookRunner#run}.
2250
1987
  #
2251
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:8
1988
+ # source://overcommit//lib/overcommit/printer.rb#8
2252
1989
  class Overcommit::Printer
2253
1990
  # @return [Printer] a new instance of Printer
2254
1991
  #
2255
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:11
2256
- def initialize(config, logger, context)
2257
- ;
2258
- end
1992
+ # source://overcommit//lib/overcommit/printer.rb#11
1993
+ def initialize(config, logger, context); end
2259
1994
 
2260
1995
  # Executed at the end of an individual hook run.
2261
1996
  #
2262
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:37
2263
- def end_hook(hook, status, output)
2264
- ;
2265
- end
1997
+ # source://overcommit//lib/overcommit/printer.rb#37
1998
+ def end_hook(hook, status, output); end
2266
1999
 
2267
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:79
2268
- def hook_run_failed(message)
2269
- ;
2270
- end
2000
+ # source://overcommit//lib/overcommit/printer.rb#79
2001
+ def hook_run_failed(message); end
2271
2002
 
2272
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:28
2273
- def hook_skipped(hook)
2274
- ;
2275
- end
2003
+ # source://overcommit//lib/overcommit/printer.rb#28
2004
+ def hook_skipped(hook); end
2276
2005
 
2277
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:45
2006
+ # source://overcommit//lib/overcommit/printer.rb#45
2278
2007
  def interrupt_triggered; end
2279
2008
 
2280
2009
  # Returns the value of attribute log.
2281
2010
  #
2282
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:9
2011
+ # source://overcommit//lib/overcommit/printer.rb#9
2283
2012
  def log; end
2284
2013
 
2285
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:24
2014
+ # source://overcommit//lib/overcommit/printer.rb#24
2286
2015
  def nothing_to_run; end
2287
2016
 
2288
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:32
2289
- def required_hook_not_skipped(hook)
2290
- ;
2291
- end
2017
+ # source://overcommit//lib/overcommit/printer.rb#32
2018
+ def required_hook_not_skipped(hook); end
2292
2019
 
2293
2020
  # Executed when one or more hooks by the end of the run.
2294
2021
  #
2295
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:57
2022
+ # source://overcommit//lib/overcommit/printer.rb#57
2296
2023
  def run_failed; end
2297
2024
 
2298
2025
  # Executed when a hook run was interrupted/cancelled by user.
2299
2026
  #
2300
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:50
2027
+ # source://overcommit//lib/overcommit/printer.rb#50
2301
2028
  def run_interrupted; end
2302
2029
 
2303
2030
  # Executed when no hooks failed by the end of the run.
2304
2031
  #
2305
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:71
2032
+ # source://overcommit//lib/overcommit/printer.rb#71
2306
2033
  def run_succeeded; end
2307
2034
 
2308
2035
  # Executed when no hooks failed by the end of the run, but some warned.
2309
2036
  #
2310
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:64
2037
+ # source://overcommit//lib/overcommit/printer.rb#64
2311
2038
  def run_warned; end
2312
2039
 
2313
2040
  # Executed at the very beginning of running the collection of hooks.
2314
2041
  #
2315
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:20
2042
+ # source://overcommit//lib/overcommit/printer.rb#20
2316
2043
  def start_run; end
2317
2044
 
2318
2045
  private
2319
2046
 
2320
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:119
2047
+ # source://overcommit//lib/overcommit/printer.rb#119
2321
2048
  def hook_script_name; end
2322
2049
 
2323
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:87
2324
- def print_header(hook)
2325
- ;
2326
- end
2050
+ # source://overcommit//lib/overcommit/printer.rb#87
2051
+ def print_header(hook); end
2327
2052
 
2328
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:115
2329
- def print_report(output, format = T.unsafe(nil))
2330
- ;
2331
- end
2053
+ # source://overcommit//lib/overcommit/printer.rb#115
2054
+ def print_report(output, format = T.unsafe(nil)); end
2332
2055
 
2333
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:95
2334
- def print_result(hook, status, output)
2335
- ;
2336
- end
2056
+ # source://overcommit//lib/overcommit/printer.rb#95
2057
+ def print_result(hook, status, output); end
2337
2058
 
2338
2059
  # Get all public methods that were defined on this class and wrap them with
2339
2060
  # synchronization locks so we ensure the output isn't interleaved amongst
2340
2061
  # the various threads.
2341
2062
  #
2342
- # source://overcommit-0.59.1/lib/overcommit/printer.rb:126
2063
+ # source://overcommit//lib/overcommit/printer.rb#126
2343
2064
  def synchronize_all_methods; end
2344
2065
  end
2345
2066
 
2346
- # source://overcommit-0.59.1/lib/overcommit/constants.rb:10
2067
+ # source://overcommit//lib/overcommit/constants.rb#11
2347
2068
  Overcommit::REPO_URL = T.let(T.unsafe(nil), String)
2348
2069
 
2349
2070
  # Manages execution of a child process, collecting the exit status and
2350
2071
  # standard out/error output.
2351
2072
  #
2352
- # source://overcommit-0.59.1/lib/overcommit/subprocess.rb:10
2073
+ # source://overcommit//lib/overcommit/subprocess.rb#10
2353
2074
  class Overcommit::Subprocess
2354
2075
  class << self
2355
2076
  # Spawns a new process using the given array of arguments (the first
@@ -2360,36 +2081,28 @@ class Overcommit::Subprocess
2360
2081
  # @param options [Hash]
2361
2082
  # @return [Result]
2362
2083
  #
2363
- # source://overcommit-0.59.1/lib/overcommit/subprocess.rb:30
2364
- def spawn(args, options = T.unsafe(nil))
2365
- ;
2366
- end
2084
+ # source://overcommit//lib/overcommit/subprocess.rb#30
2085
+ def spawn(args, options = T.unsafe(nil)); end
2367
2086
 
2368
2087
  # Spawns a new process in the background using the given array of
2369
2088
  # arguments (the first element is the command).
2370
2089
  #
2371
- # source://overcommit-0.59.1/lib/overcommit/subprocess.rb:60
2372
- def spawn_detached(args)
2373
- ;
2374
- end
2090
+ # source://overcommit//lib/overcommit/subprocess.rb#60
2091
+ def spawn_detached(args); end
2375
2092
 
2376
2093
  private
2377
2094
 
2378
2095
  # @param process [ChildProcess]
2379
2096
  # @return [Array<IO>]
2380
2097
  #
2381
- # source://overcommit-0.59.1/lib/overcommit/subprocess.rb:89
2382
- def assign_output_streams(process)
2383
- ;
2384
- end
2098
+ # source://overcommit//lib/overcommit/subprocess.rb#89
2099
+ def assign_output_streams(process); end
2385
2100
 
2386
2101
  # Necessary to run commands in the cmd.exe context.
2387
2102
  # Args are joined to properly handle quotes and special characters.
2388
2103
  #
2389
- # source://overcommit-0.59.1/lib/overcommit/subprocess.rb:75
2390
- def win32_prepare_args(args)
2391
- ;
2392
- end
2104
+ # source://overcommit//lib/overcommit/subprocess.rb#75
2105
+ def win32_prepare_args(args); end
2393
2106
  end
2394
2107
  end
2395
2108
 
@@ -2399,77 +2112,59 @@ end
2399
2112
  # @attr_reader stdout [String] standard output stream output
2400
2113
  # @attr_reader stderr [String] standard error stream output
2401
2114
  #
2402
- # source://overcommit-0.59.1/lib/overcommit/subprocess.rb:16
2115
+ # source://overcommit//lib/overcommit/subprocess.rb#16
2403
2116
  class Overcommit::Subprocess::Result < ::Struct
2404
2117
  # exit status code returned by process
2405
2118
  #
2406
2119
  # @return [Integer] the current value of status
2407
2120
  def status; end
2408
2121
 
2409
- def status=(_)
2410
- ;
2411
- end
2122
+ def status=(_); end
2412
2123
 
2413
2124
  # standard error stream output
2414
2125
  #
2415
2126
  # @return [String] the current value of stderr
2416
2127
  def stderr; end
2417
2128
 
2418
- def stderr=(_)
2419
- ;
2420
- end
2129
+ def stderr=(_); end
2421
2130
 
2422
2131
  # standard output stream output
2423
2132
  #
2424
2133
  # @return [String] the current value of stdout
2425
2134
  def stdout; end
2426
2135
 
2427
- def stdout=(_)
2428
- ;
2429
- end
2136
+ def stdout=(_); end
2430
2137
 
2431
2138
  # @return [Boolean]
2432
2139
  #
2433
- # source://overcommit-0.59.1/lib/overcommit/subprocess.rb:17
2140
+ # source://overcommit//lib/overcommit/subprocess.rb#17
2434
2141
  def success?; end
2435
2142
 
2436
2143
  class << self
2437
- def [](*_arg0)
2438
- ;
2439
- end
2440
-
2144
+ def [](*_arg0); end
2441
2145
  def inspect; end
2442
-
2443
2146
  def keyword_init?; end
2444
-
2445
2147
  def members; end
2446
-
2447
- def new(*_arg0)
2448
- ;
2449
- end
2148
+ def new(*_arg0); end
2450
2149
  end
2451
2150
  end
2452
2151
 
2453
2152
  # Utility functions for general use.
2454
2153
  #
2455
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:6
2154
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#6
2456
2155
  module Overcommit::Utils
2457
2156
  class << self
2458
2157
  # Returns whether a file is a broken symlink.
2459
2158
  #
2460
2159
  # @return [true, false]
2461
2160
  #
2462
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:268
2463
- def broken_symlink?(file)
2464
- ;
2465
- end
2161
+ # source://overcommit//lib/overcommit/utils.rb#268
2162
+ def broken_symlink?(file); end
2466
2163
 
2467
2164
  # Converts a string containing underscores/hyphens/spaces into CamelCase.
2468
2165
  #
2469
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:97
2470
- def camel_case(str)
2471
- ;
2472
- end
2166
+ # source://overcommit//lib/overcommit/utils.rb#97
2167
+ def camel_case(str); end
2473
2168
 
2474
2169
  # Convert a glob pattern to an absolute path glob pattern rooted from the
2475
2170
  # repository root directory.
@@ -2477,10 +2172,8 @@ module Overcommit::Utils
2477
2172
  # @param glob [String]
2478
2173
  # @return [String]
2479
2174
  #
2480
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:279
2481
- def convert_glob_to_absolute(glob)
2482
- ;
2483
- end
2175
+ # source://overcommit//lib/overcommit/utils.rb#279
2176
+ def convert_glob_to_absolute(glob); end
2484
2177
 
2485
2178
  # Execute a command in a subprocess, capturing exit status and output from
2486
2179
  # both standard and error streams.
@@ -2503,10 +2196,8 @@ module Overcommit::Utils
2503
2196
  # @param options [Hash]
2504
2197
  # @return [Overcommit::Subprocess::Result] status, stdout, and stderr
2505
2198
  #
2506
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:175
2507
- def execute(initial_args, options = T.unsafe(nil))
2508
- ;
2509
- end
2199
+ # source://overcommit//lib/overcommit/utils.rb#175
2200
+ def execute(initial_args, options = T.unsafe(nil)); end
2510
2201
 
2511
2202
  # Execute a command in a subprocess, returning immediately.
2512
2203
  #
@@ -2516,38 +2207,32 @@ module Overcommit::Utils
2516
2207
  # @param args [Array<String>]
2517
2208
  # @return [ChildProcess] detached process spawned in the background
2518
2209
  #
2519
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:204
2520
- def execute_in_background(args)
2521
- ;
2522
- end
2210
+ # source://overcommit//lib/overcommit/utils.rb#204
2211
+ def execute_in_background(args); end
2523
2212
 
2524
2213
  # Returns an absolute path to the .git directory for a repo.
2525
2214
  #
2526
2215
  # @return [String]
2527
2216
  #
2528
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:61
2217
+ # source://overcommit//lib/overcommit/utils.rb#61
2529
2218
  def git_dir; end
2530
2219
 
2531
2220
  # @param cmd [String]
2532
2221
  # @return [true, false] whether a command can be found given the current
2533
2222
  # environment path.
2534
2223
  #
2535
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:119
2536
- def in_path?(cmd)
2537
- ;
2538
- end
2224
+ # source://overcommit//lib/overcommit/utils.rb#119
2225
+ def in_path?(cmd); end
2539
2226
 
2540
2227
  # @return [Overcommit::Logger] logger with which to send debug output
2541
2228
  #
2542
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:32
2229
+ # source://overcommit//lib/overcommit/utils.rb#32
2543
2230
  def log; end
2544
2231
 
2545
2232
  # @return [Overcommit::Logger] logger with which to send debug output
2546
2233
  #
2547
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:32
2548
- def log=(_arg0)
2549
- ;
2550
- end
2234
+ # source://overcommit//lib/overcommit/utils.rb#32
2235
+ def log=(_arg0); end
2551
2236
 
2552
2237
  # Return whether a pattern matches the given path.
2553
2238
  #
@@ -2555,23 +2240,21 @@ module Overcommit::Utils
2555
2240
  # @param path [String]
2556
2241
  # @return [Boolean]
2557
2242
  #
2558
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:287
2559
- def matches_path?(pattern, path)
2560
- ;
2561
- end
2243
+ # source://overcommit//lib/overcommit/utils.rb#287
2244
+ def matches_path?(pattern, path); end
2562
2245
 
2563
2246
  # Return the parent command that triggered this hook run
2564
2247
  #
2565
2248
  # @return [String, nil] the command as a string, if a parent exists.
2566
2249
  #
2567
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:138
2250
+ # source://overcommit//lib/overcommit/utils.rb#138
2568
2251
  def parent_command; end
2569
2252
 
2570
2253
  # Return the number of processors used by the OS for process scheduling.
2571
2254
  #
2572
2255
  # @see https://github.com/grosser/parallel/blob/v1.6.1/lib/parallel/processor_count.rb#L17-L51
2573
2256
  #
2574
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:217
2257
+ # source://overcommit//lib/overcommit/utils.rb#217
2575
2258
  def processor_count; end
2576
2259
 
2577
2260
  # Returns an absolute path to the root of the repository.
@@ -2582,21 +2265,17 @@ module Overcommit::Utils
2582
2265
  #
2583
2266
  # @return [String]
2584
2267
  #
2585
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:45
2268
+ # source://overcommit//lib/overcommit/utils.rb#45
2586
2269
  def repo_root; end
2587
2270
 
2588
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:34
2589
- def script_path(script)
2590
- ;
2591
- end
2271
+ # source://overcommit//lib/overcommit/utils.rb#34
2272
+ def script_path(script); end
2592
2273
 
2593
2274
  # Shamelessly stolen from:
2594
2275
  # stackoverflow.com/questions/1509915/converting-camel-case-to-underscore-case-in-ruby
2595
2276
  #
2596
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:88
2597
- def snake_case(str)
2598
- ;
2599
- end
2277
+ # source://overcommit//lib/overcommit/utils.rb#88
2278
+ def snake_case(str); end
2600
2279
 
2601
2280
  # Remove ANSI escape sequences from a string.
2602
2281
  #
@@ -2605,28 +2284,24 @@ module Overcommit::Utils
2605
2284
  # @param text [String]
2606
2285
  # @return [String]
2607
2286
  #
2608
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:82
2609
- def strip_color_codes(text)
2610
- ;
2611
- end
2287
+ # source://overcommit//lib/overcommit/utils.rb#82
2288
+ def strip_color_codes(text); end
2612
2289
 
2613
2290
  # Returns a list of supported hook classes (PreCommit, CommitMsg, etc.)
2614
2291
  #
2615
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:110
2292
+ # source://overcommit//lib/overcommit/utils.rb#110
2616
2293
  def supported_hook_type_classes; end
2617
2294
 
2618
2295
  # Returns a list of supported hook types (pre-commit, commit-msg, etc.)
2619
2296
  #
2620
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:102
2297
+ # source://overcommit//lib/overcommit/utils.rb#102
2621
2298
  def supported_hook_types; end
2622
2299
 
2623
2300
  # Calls a block of code with a modified set of environment variables,
2624
2301
  # restoring them once the code has executed.
2625
2302
  #
2626
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:253
2627
- def with_environment(env)
2628
- ;
2629
- end
2303
+ # source://overcommit//lib/overcommit/utils.rb#253
2304
+ def with_environment(env); end
2630
2305
 
2631
2306
  private
2632
2307
 
@@ -2638,16 +2313,14 @@ module Overcommit::Utils
2638
2313
  #
2639
2314
  # @param args [Array<String>]
2640
2315
  #
2641
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:304
2642
- def debug(*args)
2643
- ;
2644
- end
2316
+ # source://overcommit//lib/overcommit/utils.rb#304
2317
+ def debug(*args); end
2645
2318
  end
2646
2319
  end
2647
2320
 
2648
2321
  # Utility functions for file IO.
2649
2322
  #
2650
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:8
2323
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#8
2651
2324
  module Overcommit::Utils::FileUtils
2652
2325
  class << self
2653
2326
  # When the host OS is Windows, uses the `dir` command to check whether
@@ -2655,19 +2328,15 @@ module Overcommit::Utils::FileUtils
2655
2328
  # the command output. Otherwise raises an `ArgumentError`. Delegates to
2656
2329
  # `File.readlink` if the host OS is not Windows.
2657
2330
  #
2658
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:34
2659
- def readlink(link_name)
2660
- ;
2661
- end
2331
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#34
2332
+ def readlink(link_name); end
2662
2333
 
2663
2334
  # When the host OS is Windows, uses the `mklink` command to create an
2664
2335
  # NTFS symbolic link from `new_name` to `old_name`. Otherwise delegates
2665
2336
  # to `File.symlink`
2666
2337
  #
2667
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:13
2668
- def symlink(old_name, new_name)
2669
- ;
2670
- end
2338
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#13
2339
+ def symlink(old_name, new_name); end
2671
2340
 
2672
2341
  # When the host OS is Windows, uses the `dir` command to check whether
2673
2342
  # `file_name` is an NTFS symbolic link. Otherwise delegates to
@@ -2675,34 +2344,24 @@ module Overcommit::Utils::FileUtils
2675
2344
  #
2676
2345
  # @return [Boolean]
2677
2346
  #
2678
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:23
2679
- def symlink?(file_name)
2680
- ;
2681
- end
2347
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#23
2348
+ def symlink?(file_name); end
2682
2349
 
2683
2350
  private
2684
2351
 
2685
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:50
2686
- def win32_dir_cmd(file_name)
2687
- ;
2688
- end
2352
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#50
2353
+ def win32_dir_cmd(file_name); end
2689
2354
 
2690
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:62
2691
- def win32_fix_pathsep(path)
2692
- ;
2693
- end
2355
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#62
2356
+ def win32_fix_pathsep(path); end
2694
2357
 
2695
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:56
2696
- def win32_mklink_cmd(old_name, new_name)
2697
- ;
2698
- end
2358
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#56
2359
+ def win32_mklink_cmd(old_name, new_name); end
2699
2360
 
2700
2361
  # @return [Boolean]
2701
2362
  #
2702
- # source://overcommit-0.59.1/lib/overcommit/utils/file_utils.rb:66
2703
- def win32_symlink?(dir_output)
2704
- ;
2705
- end
2363
+ # source://overcommit//lib/overcommit/utils/file_utils.rb#66
2364
+ def win32_symlink?(dir_output); end
2706
2365
  end
2707
2366
  end
2708
2367
 
@@ -2710,38 +2369,26 @@ end
2710
2369
  #
2711
2370
  # This allows us to execute code based on the git version.
2712
2371
  #
2713
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:17
2372
+ # source://overcommit//lib/overcommit/utils.rb#17
2714
2373
  class Overcommit::Utils::Version < ::Gem::Version
2715
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:19
2716
- def !=(version)
2717
- ;
2718
- end
2374
+ # source://overcommit//lib/overcommit/utils.rb#19
2375
+ def !=(version); end
2719
2376
 
2720
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:19
2721
- def <(version)
2722
- ;
2723
- end
2377
+ # source://overcommit//lib/overcommit/utils.rb#19
2378
+ def <(version); end
2724
2379
 
2725
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:19
2726
- def <=(version)
2727
- ;
2728
- end
2380
+ # source://overcommit//lib/overcommit/utils.rb#19
2381
+ def <=(version); end
2729
2382
 
2730
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:19
2731
- def ==(version)
2732
- ;
2733
- end
2383
+ # source://overcommit//lib/overcommit/utils.rb#19
2384
+ def ==(version); end
2734
2385
 
2735
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:19
2736
- def >(version)
2737
- ;
2738
- end
2386
+ # source://overcommit//lib/overcommit/utils.rb#19
2387
+ def >(version); end
2739
2388
 
2740
- # source://overcommit-0.59.1/lib/overcommit/utils.rb:19
2741
- def >=(version)
2742
- ;
2743
- end
2389
+ # source://overcommit//lib/overcommit/utils.rb#19
2390
+ def >=(version); end
2744
2391
  end
2745
2392
 
2746
- # source://overcommit-0.59.1/lib/overcommit/version.rb:5
2393
+ # source://overcommit//lib/overcommit/version.rb#5
2747
2394
  Overcommit::VERSION = T.let(T.unsafe(nil), String)