resolveContentRootPath function
Implementation
String resolveContentRootPath(String? contentRootPath, String basePath) {
if (contentRootPath == null) {
return basePath;
}
if (p.isRootRelative(contentRootPath)) {
return contentRootPath;
}
return p.join(p.absolute(basePath), contentRootPath);
}