| 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 | |
| 46 | enum ConfigOption { |
nothing calls this directly
no outgoing calls
no test coverage detected