list of search paths
name of the file to be mapped to module name
return a suggestion of a module name
Example: suggestModuleName
auto paths = [ buildPath(["some", "path", "to", "modules"]), buildPath(["another", "path", "to"]) ]; const filename = buildPath(["another", "path", "to", "some", "module", "path", "ModuleName"]) .setExtension(FileExtension.dsrc); assert(filename.suggestModuleName(paths) == "some.module.path.ModuleName");
Suggest a module name from the paths and the filename