MCPcopy Create free account
hub / github.com/TuGraph-family/tugraph-db / WriteEchoPlugin

Function WriteEchoPlugin

test/test_python_plugin_manager_impl.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void WriteEchoPlugin(const std::string& path) {
134 fma_common::OutputFmaStream out(path, 0);
135 buil_python_extension("./echo.so", "echo");
136 std::string code = "";
137 read_code("./echo.so", code);
138
139 out.Write(code.data(), code.size());
140 out.Close();
141}
142
143void WriteSleepPlugin(const std::string& path) {
144 fma_common::OutputFmaStream out(path, 0);

Callers 1

TEST_FFunction · 0.85

Calls 6

buil_python_extensionFunction · 0.85
read_codeFunction · 0.85
WriteMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected