MCPcopy Create free account
hub / github.com/catboost/catboost / strslashcat

Function strslashcat

util/folder/dirut.cpp:319–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319static inline char* strslashcat(char* a, const char* b) {
320 size_t len = strlen(a);
321 if (len && a[len - 1] != '\\') {
322 a[len++] = '\\';
323 }
324 strcpy(a + len, b);
325 return a;
326}
327
328int resolvepath(char* apath, const char* rpath, const char* cpath) {
329 const char* redisk = rpath;

Callers 1

resolvepathFunction · 0.85

Calls 1

strcpyFunction · 0.85

Tested by

no test coverage detected