Function EditorFileSystemDirectory.findFileIndex

Returns the index of the file with name name or -1 if not found.

long findFileIndex (
  const(String) name
) nothrow @nogc const;