MCPcopy Create free account
hub / github.com/acl-dev/acl / create_master_aio

Function create_master_aio

app/wizard/master_creator.cpp:65–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static bool create_master_aio(file_tmpl& tmpl)
66{
67 string file(tmpl.get_project_name());
68 file << ".cf";
69 if (!tmpl.copy_and_replace("master_aio.cf", file.c_str())) {
70 return false;
71 }
72
73 const char* name = "master_aio";
74 const FILE_FROM_TO tab[] = {
75 { "main_aio.cpp", "main.cpp" },
76 { "master_aio.h", "master_service.h" },
77 { "master_aio.cpp", "master_service.cpp" },
78 { NULL, NULL }
79 };
80
81 return tmpl.files_copy(name, tab);
82}
83
84static bool create_master_rpc(file_tmpl& tmpl)
85{

Callers 1

master_creatorFunction · 0.85

Calls 4

get_project_nameMethod · 0.80
copy_and_replaceMethod · 0.80
files_copyMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…