Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for isDirectory (0.22 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                    if (isModuleHierarchy) {
                        // If module hierarchy is used, the directory names shall be the module names.
                        Path path = test.resolve(moduleName);
                        if (!Files.isDirectory(path)) {
                            // Main module without tests. It is okay.
                            continue;
                        }
                        subdir = path;
                    }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                    if (isModuleHierarchy) {
                        // If module hierarchy is used, the directory names shall be the module names.
                        Path path = test.resolve(moduleName);
                        if (!Files.isDirectory(path)) {
                            // Main module without tests. It is okay.
                            continue;
                        }
                        subdir = path;
                    }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Tests to see if the file this <code>SmbFile</code> represents is a directory.
     *
     * @return <code>true</code> if this <code>SmbFile</code> is a directory
     */
    
        public boolean isDirectory() throws SmbException {
            if( getUncPath0().length() == 1 ) {
                return true;
            }
            if (!exists()) return false;
            return ( attributes & ATTR_DIRECTORY ) == ATTR_DIRECTORY;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                }
            }
            if (baseDir.mkdirs()) {
                logger.info("Created: {}", baseDir.getAbsolutePath());
            }
            if (!baseDir.isDirectory()) {
                throw new FessSystemException("Not found: " + baseDir.getAbsolutePath());
            }
    
            if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      val files =
        try {
          list(directory)
        } catch (fnfe: FileNotFoundException) {
          return
        }
      for (file in files) {
        try {
          if (metadata(file).isDirectory) {
            deleteContents(file)
          }
    
          delete(file)
        } catch (ioe: IOException) {
          if (exception == null) {
            exception = ioe
          }
        }
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        GTEST_SKIP() << "NewWritableFile() not supported: " << status;
    
      status = env_->IsDirectory(filepath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::FAILED_PRECONDITION);
    }
    
    TEST_P(ModularFileSystemTest, TestIsDirectoryNotFound) {
      const std::string dirpath = GetURIForPath("a_dir");
      Status status = env_->IsDirectory(dirpath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            File localRepoDir = request.getLocalRepositoryPath();
    
            logger.debug("Using local repository at {}", localRepoDir);
    
            localRepoDir.mkdirs();
    
            if (!localRepoDir.isDirectory()) {
                throw new IOException("Could not create local repository at " + localRepoDir);
            }
        }
    
        private <T> Collection<T> getExtensionComponents(Collection<MavenProject> projects, Class<T> role) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    config.disableESLogger();
                    runner.onBuild((number, settingsBuilder) -> {
                        final File moduleDir = new File(esDir, "modules");
                        if (moduleDir.isDirectory()) {
                            settingsBuilder.put("path.modules", moduleDir.getAbsolutePath());
                        } else {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File pickAnyJarFile() throws IOException {
        for (ClassPath.LocationInfo location :
            ClassPath.locationsFrom(ClassPathTest.class.getClassLoader())) {
          if (!location.file().isDirectory() && location.file().exists()) {
            return location.file();
          }
        }
        throw new AssertionError("Failed to find a jar file");
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 16:50:33 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File pickAnyJarFile() throws IOException {
        for (ClassPath.LocationInfo location :
            ClassPath.locationsFrom(ClassPathTest.class.getClassLoader())) {
          if (!location.file().isDirectory() && location.file().exists()) {
            return location.file();
          }
        }
        throw new AssertionError("Failed to find a jar file");
      }
    
      @AndroidIncompatible // Path (for symlink creation)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top