MCPcopy Create free account
hub / github.com/colmap/colmap / __GetConstFileBaseName

Function __GetConstFileBaseName

src/colmap/util/logging.cc:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41const char* __GetConstFileBaseName(const char* file) {
42 const char* base = strrchr(file, '/');
43 if (!base) {
44 base = strrchr(file, '\\');
45 }
46 return base ? (base + 1) : file;
47}
48
49bool __CheckOptionImpl(const char* file,
50 const int line,

Callers 3

__CheckOptionImplFunction · 0.85
__CheckOptionOpImplFunction · 0.85
__MakeExceptionPrefixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected