Searched refs:isSymlink (Results 1 – 2 of 2) sorted by relevance
90 assertFalse(FileUtils.isSymlink(dir)); in testIsSymlink()91 assertFalse(FileUtils.isSymlink(subDir)); in testIsSymlink()92 assertFalse(FileUtils.isSymlink(fileInSubDir)); in testIsSymlink()93 assertFalse(FileUtils.isSymlink(normalFile)); in testIsSymlink()94 assertTrue(FileUtils.isSymlink(symlinkToDir)); in testIsSymlink()95 assertTrue(FileUtils.isSymlink(symlinkToFile)); in testIsSymlink()96 assertTrue(FileUtils.isSymlink(symlinkToFileInSubDir)); in testIsSymlink()97 assertFalse(FileUtils.isSymlink(normalFileViaSymlink)); in testIsSymlink()
123 public static boolean isSymlink(File file) throws IOException { in isSymlink() method in FileUtils133 if (file.isDirectory() && !FileUtils.isSymlink(file)) { in deleteRecursive()