use of com.synopsys.integration.detectable.detectables.xcode.model.FileReferenceType in project synopsys-detect by blackducksoftware.
the class XcodeWorkspaceParser method parseReference.
private XcodeFileReference parseReference(String locationString) {
String location = StringUtils.removeStart(locationString, "group:");
FileReferenceType fileReferenceType = FileReferenceType.DIRECTORY;
if (StringUtils.endsWith(location, ".xcodeproj")) {
fileReferenceType = FileReferenceType.XCODE_PROJECT;
}
return new XcodeFileReference(Paths.get(location), fileReferenceType);
}
Aggregations