Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for CreateDirectory (0.07 seconds)

  1. 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));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            assertTrue(true);
        }
    
        @Test
        public void test_closeQuietly_existingDirectory() throws IOException {
            Path existingDir = tempDir.resolve("existing");
            Files.createDirectory(existingDir);
            Files.createFile(existingDir.resolve("test.txt"));
    
            assertTrue(Files.exists(existingDir));
            themeHelper.closeQuietly(existingDir);
            // Directory should be deleted
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

          """.trimIndent()
        val entryBody = "abc"
        val journalBody = """libcore.io.DiskLruCache
    1
    201105
    2
    
    CLEAN $urlKey ${entryMetadata.length} ${entryBody.length}
    """
        fileSystem.createDirectory(cache.directoryPath)
        writeFile(cache.directoryPath, "$urlKey.0", entryMetadata)
        writeFile(cache.directoryPath, "$urlKey.1", entryBody)
        writeFile(cache.directoryPath, "journal", journalBody)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  4. api/go1.txt

    pkg syscall (windows-386), func ConvertStringSidToSid(*uint16, **SID) error
    pkg syscall (windows-386), func CopySid(uint32, *SID, *SID) error
    pkg syscall (windows-386), func CreateDirectory(*uint16, *SecurityAttributes) error
    pkg syscall (windows-386), func CreateFile(*uint16, uint32, uint32, *SecurityAttributes, uint32, uint32, int32) (Handle, error)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top