FileManager.lookForSourceFile

Look for the source file if it's different from filename. Look for .di, .d, directory, and along global.path. Does not open the file.

class FileManager
nothrow
const(char)[]
lookForSourceFile
(
const char[] filename
,
const char*[] path
)

Parameters

filename char[]

as supplied by the user

path char*[]

path to look for filename

Return Value

Type: const(char)[]

the found file name or null if it is not different from filename.

Meta