fix(clang): Re-implemeting is file child after detectable work.
package com.synopsys.integration.detectable.detectable.file;
import java.io.File;
+import java.io.IOException;
public class FileUtils {
public static boolean isFileChildOfDirectory(File file, File directory) {
- //return org.apache.commons.io.FileUtils.directoryContains(, );
- return true;
+ try {
+ return org.apache.commons.io.FileUtils.directoryContains(file, directory);
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
}
public static File getParent(File file, int levels) {
