find

Contains the results of a search in the compilation database.

When searching for the compile command for a file, the compilation db can return several commands, as the file may have been compiled with different options in different parts of the project.

@safe
CompileCommandSearch
find
@safe
in { debug logger.trace("Looking for " ~ glob); }
out (result) { import std.conv : to; debug logger.trace("Found " ~ to!string(result)); }

Parameters

glob
Type: string

glob pattern to find a matching file in the DB against

Meta