MCPcopy Create free account
hub / github.com/cmu-db/bustub / FilesBelongToSameModule

Function FilesBelongToSameModule

build_support/cpplint.py:5697–5752  ·  view source on GitHub ↗

Check if these two filenames belong to the same module. The concept of a 'module' here is a as follows: foo.h, foo-inl.h, foo.cc, foo_test.cc and foo_unittest.cc belong to the same 'module' if they are in the same directory. some/path/public/xyzzy and some/path/internal/xyzzy are also consi

(filename_cc, filename_h)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 6

ExtensionMethod · 0.95
BaseNameMethod · 0.95
FileInfoClass · 0.85
GetNonHeaderExtensionsFunction · 0.85
IsHeaderExtensionFunction · 0.85
SearchFunction · 0.85

Tested by

no test coverage detected