utils/gzip: enable strict typing
This commit is contained in:
parent
5e027bffd6
commit
985cc83008
@ -1,9 +1,9 @@
|
|||||||
# typed: true
|
# typed: strict
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# Apple's gzip also uses zlib so use the same buffer size here.
|
# Apple's gzip also uses zlib so use the same buffer size here.
|
||||||
# https://github.com/apple-oss-distributions/file_cmds/blob/file_cmds-400/gzip/gzip.c#L147
|
# https://github.com/apple-oss-distributions/file_cmds/blob/file_cmds-400/gzip/gzip.c#L147
|
||||||
GZIP_BUFFER_SIZE = 64 * 1024
|
GZIP_BUFFER_SIZE = T.let(64 * 1024, Integer)
|
||||||
|
|
||||||
module Utils
|
module Utils
|
||||||
# Helper functions for creating gzip files.
|
# Helper functions for creating gzip files.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user