class Crytic::Mutation::RequireResolver
- Crytic::Mutation::RequireResolver
- Reference
- Object
Defined in:
crytic/mutation/require_resolver.crInstance Method Summary
-
#find_in_path_relative_to_dir(filename, relative_to) : Array(String) | Nil
All of the below code is stolen from crystal itself https://github.com/crystal-lang/crystal/blob/master/src/compiler/crystal/crystal_path.cr Because we are caring about relative requires "./foo/bar" exclusively, a lot of code was removed from this method.
Instance Method Detail
def find_in_path_relative_to_dir(filename, relative_to) : Array(String) | Nil
#
All of the below code is stolen from crystal itself https://github.com/crystal-lang/crystal/blob/master/src/compiler/crystal/crystal_path.cr Because we are caring about relative requires "./foo/bar" exclusively, a lot of code was removed from this method.