MCPcopy Create free account
hub / github.com/PlatformLab/Arachne / FilesBelongToSameModule

Function FilesBelongToSameModule

scripts/cpplint.py:5137–5189  ·  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 5

IsSourceMethod · 0.95
ExtensionMethod · 0.95
BaseNameMethod · 0.95
FileInfoClass · 0.85
SearchFunction · 0.85

Tested by

no test coverage detected