- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CreateDirectory (0.06 sec)
-
src/test/java/org/codelibs/core/io/FileUtilTest.java
* * @throws Exception */ @Test public void testIsPathSafe_PathInsideBase() throws Exception { final Path baseDir = tempFolder.getRoot().toPath(); final Path subDir = Files.createDirectory(baseDir.resolve("subdir")); final Path file = Files.createFile(subDir.resolve("test.txt")); assertTrue("Path inside base should be allowed", FileUtil.isPathSafe(file, baseDir)); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0)