Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isRegularFile (0.04 sec)

  1. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

        for (classPathEntry in entries) {
          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
        if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return
        try {
          fileSystem.read(file) {
            put(inputStream(), RepositoryPlugin.PutOptions())
            println("Deployed ${file.name}")
          }
        } catch (e: IllegalArgumentException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                        try {
                            final Path path = Paths.get(LaServletContextUtil.getServletContext().getRealPath(key));
                            if (Files.isRegularFile(path)) {
                                return Files.getLastModifiedTime(path).toMillis();
                            }
                        } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top