MCPcopy Create free account
hub / github.com/VKCOM/kphp / search_required_file

Method search_required_file

compiler/compiler-core.cpp:188–217  ·  view source on GitHub ↗

search_required_file resolves the file_name like it would be expanded when user as require() argument; it uses search_file_in_include_dirs as well as the current file relative search

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

is_composer_autoloadMethod · 0.80

Calls 7

get_full_pathFunction · 0.85
get_fileFunction · 0.85
assertFunction · 0.85
substrMethod · 0.80
emptyMethod · 0.45
push_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected