Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
FileLocator uses FileSystemResolver in order to resolve some locations.
The FileSystemResolver can answer a list of location it can resolve. If the location is in the list, it will ask the resolver, else it will go to the next resolver of the chain of responsibility.
I would like to add my own locations depending on the OS I am on, but currently, the locations are hardcoded.
It would be great to improve it. I see two possibilities: