| 1896 | } |
| 1897 | |
| 1898 | Status Server::ScriptSet(const std::string &sha, const std::string &body) const { |
| 1899 | std::string func_name = engine::kLuaFuncSHAPrefix + sha; |
| 1900 | engine::Context ctx(storage); |
| 1901 | return storage->WriteToPropagateCF(ctx, func_name, body); |
| 1902 | } |
| 1903 | |
| 1904 | Status Server::FunctionGetCode(const std::string &lib, std::string *code) const { |
| 1905 | std::string func_name = engine::kLuaLibCodePrefix + lib; |
no test coverage detected