enum Zip::FileFlag
Overview
Flags used by Archive#name_locate
, Archive#stat
, Archive#open
, etc.
Defined in:
zip/constants.crEnum Members
-
ENC_GUESS =
0
-
guess string encoding (default)
-
NOCASE =
1
-
ignore case on name lookup
-
NODIR =
2
-
ignore directory component
-
COMPRESSED =
4
-
read compressed data
-
UNCHANGED =
8
-
use original data, ignoring changes
-
RECOMPRESS =
16
-
force recompression of data
-
ENCRYPTED =
32
-
read encrypted data (implies ZIP_FL_COMPRESSED)
-
ENC_RAW =
64
-
get unmodified string
-
ENC_STRICT =
128
-
follow specification strictly
-
LOCAL =
256
-
in local header
-
CENTRAL =
512
-
in central directory
-
ENC_UTF_8 =
2048
-
string is UTF-8 encoded
-
ENC_CP437 =
4096
-
string is CP437 encoded
-
OVERWRITE =
8192
-
zip_file_add: if file with name exists, overwrite (replace) it
Instance Method Summary
- #central?
- #compressed?
- #enc_cp437?
- #enc_guess?
- #enc_raw?
- #enc_strict?
- #enc_utf_8?
- #encrypted?
- #local?
- #nocase?
- #nodir?
- #none?
- #overwrite?
- #recompress?
- #unchanged?