MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _write_string

Function _write_string

editor/doc/doc_tools.cpp:1552–1558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1550}
1551
1552static void _write_string(Ref<FileAccess> f, int p_tablevel, const String &p_string) {
1553 if (p_string.is_empty()) {
1554 return;
1555 }
1556 String tab = String("\t").repeat(p_tablevel);
1557 f->store_string(tab + p_string + "\n");
1558}
1559
1560static void _write_method_doc(Ref<FileAccess> f, const String &p_name, Vector<DocData::MethodDoc> &p_method_docs) {
1561 if (!p_method_docs.is_empty()) {

Callers 2

_write_method_docFunction · 0.85
save_classesMethod · 0.85

Calls 4

repeatMethod · 0.80
store_stringMethod · 0.80
StringClass · 0.50
is_emptyMethod · 0.45

Tested by

no test coverage detected