getResource method
Return the Resource that corresponds to the given path
.
The path
must be absolute and normalized.
Implementation
@override
Resource getResource(String path) {
if (hasOverlay(path)) {
return _OverlayResource._from(this, baseProvider.getFile(path));
} else if (_hasOverlayIn(path)) {
return _OverlayResource._from(this, baseProvider.getFolder(path));
}
return _OverlayResource._from(this, baseProvider.getResource(path));
}