Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 615 for EXISTS (0.05 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            Path startingDirectory = context.options().directory().map(Paths::get).orElse(context.invokerRequest.cwd());
    
            Path mvnDir = startingDirectory.resolve(MVN_DIRECTORY);
    
            try {
                if (!Files.exists(mvnDir)) {
                    if (shouldSaveModifications()) {
                        Files.createDirectories(mvnDir);
                        context.success("Created .mvn directory at " + mvnDir);
                    } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     * <p>Many operations can be performed directly using DomTrip's Element API:
     * <pre>{@code
     * // Find child element
     * Element child = parent.child("version").orElse(null);
     *
     * // Check if child exists
     * boolean hasVersion = parent.child("version").isPresent();
     *
     * // Get child text content
     * String version = parent.child("version")
     *     .map(Element::textContent)
     *     .orElse(null);
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Checks if an index exists in the search engine.
         *
         * @param indexName the name of the index to check
         * @return true if the index exists, false otherwise
         */
        public boolean existsIndex(final String indexName) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            boolean exists = false;
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            Set<String> actualSubprojects = new HashSet<>();
            try {
                if (Files.exists(parentDir) && Files.isDirectory(parentDir)) {
                    try (Stream<Path> children = Files.list(parentDir)) {
                        children.filter(Files::isDirectory)
                                .filter(dir -> Files.exists(dir.resolve(POM_XML)))
                                .forEach(dir ->
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. scripts/docs.py

    @app.command()
    def new_lang(lang: str = typer.Argument(..., callback=lang_callback)):
        """
        Generate a new docs translation directory for the language LANG.
        """
        new_path: Path = Path("docs") / lang
        if new_path.exists():
            typer.echo(f"The language was already created: {lang}")
            raise typer.Abort()
        new_path.mkdir()
        new_config_path: Path = Path(new_path) / mkdocs_name
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  6. cmd/metrics.go

    // collects healing specific metrics for MinIO instance in Prometheus specific format
    // and sends to given channel
    func healingMetricsPrometheus(ch chan<- prometheus.Metric) {
    	bgSeq, exists := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if !exists {
    		return
    	}
    
    	var dur time.Duration
    	if !bgSeq.lastHealActivity.IsZero() {
    		dur = time.Since(bgSeq.lastHealActivity)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:06:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            if (artifactFile.exists()) {
                artifact.setResolved(true);
            }
    
            return artifact;
        }
    
        @Override
        public List<String> findVersions(Artifact artifact) {
            return Collections.emptyList();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. helm/minio/templates/_helpers.tpl

        items:
        - key: {{ $publicCrt }}
          path: public.crt
        {{- end }}
    {{- end }}
    {{- end -}}
    
    {{/*
    Returns the available value for certain key in an existing secret (if it exists),
    otherwise it generates a random value.
    */}}
    {{- define "minio.getValueFromSecret" }}
      {{- $len := (default 16 .Length) | int -}}
      {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}}
      {{- if $obj }}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Aug 06 23:48:24 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                fos.write("Test data for deletion".getBytes());
            }
    
            String filePath = tempFile.getAbsolutePath();
            assertTrue("Temp file should exist before opening stream", tempFile.exists());
    
            TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile);
            stream.read(); // Read some data
            stream.close();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. maven-tests/mvnw.cmd

    $TMP_DOWNLOAD_DIR_HOLDER = New-TemporaryFile
    $TMP_DOWNLOAD_DIR = New-Item -Itemtype Directory -Path "$TMP_DOWNLOAD_DIR_HOLDER.dir"
    $TMP_DOWNLOAD_DIR_HOLDER.Delete() | Out-Null
    trap {
      if ($TMP_DOWNLOAD_DIR.Exists) {
        try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }
        catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" }
      }
    }
    
    New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top