MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / CacheObjectCodeHandler

Function CacheObjectCodeHandler

FEXCore/include/FEXCore/Config/Config.h:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 return "0";
33 }
34 static inline std::optional<fextl::string> CacheObjectCodeHandler(std::string_view Value) {
35 if (Value == "none") {
36 return "0";
37 } else if (Value == "read") {
38 return "1";
39 } else if (Value == "write") {
40 return "2";
41 }
42 return "0";
43 }
44} // namespace Handler
45
46enum ConfigOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected