MCPcopy Create free account
hub / github.com/aliyun/ossfs / validate_bytes_string

Function validate_bytes_string

src/options.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 false, false);
50
51static bool validate_bytes_string(const char *flagname,
52 const std::string &value) {
53 return parse_bytes_string(value).has_value();
54}
55DEFINE_validator(total_mem_limit, &validate_bytes_string);
56
57DEFINE_OPTION(total_rw_mem_ratio, double, 0.6,

Callers

nothing calls this directly

Calls 1

parse_bytes_stringFunction · 0.85

Tested by

no test coverage detected