mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-18 17:24:42 -04:00
support specify ignored files patterns
Signed-off-by: liduo <liduo29@huawei.com>
This commit is contained in:
@@ -49,13 +49,19 @@ const static std::string SOLUTIONS_ARROW = "> ";
|
||||
const static std::string LONG_PATH_HEAD = "\\\\?\\";
|
||||
const static int32_t VERSION_MAX_LEN = 128;
|
||||
const static int32_t INT_TO_BYTES = sizeof(uint32_t);
|
||||
static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 5.1.0.007" };
|
||||
static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 5.1.0.008" };
|
||||
const static int32_t TAG_LEN = 4;
|
||||
constexpr static int DEFAULT_POOL_SIZE = 8;
|
||||
static std::set<std::string> g_resourceSet;
|
||||
static std::set<std::string> g_hapResourceSet;
|
||||
const static int8_t INVALID_ID = -1;
|
||||
|
||||
enum class IgnoreType {
|
||||
IGNORE_FILE,
|
||||
IGNORE_DIR,
|
||||
IGNORE_ALL
|
||||
};
|
||||
|
||||
enum class KeyType {
|
||||
LANGUAGE = 0,
|
||||
REGION = 1,
|
||||
@@ -148,6 +154,7 @@ enum Option {
|
||||
DEFINED_SYSIDS = 6,
|
||||
COMPRESSED_CONFIG = 7,
|
||||
THREAD = 8,
|
||||
IGNORED_FILE = 9,
|
||||
STARTID = 'e',
|
||||
FORCEWRITE = 'f',
|
||||
HELP = 'h',
|
||||
|
||||
Reference in New Issue
Block a user