Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 6,527 for fileb (0.02 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            private String getPackageName(File file) throws IOException {
                try (Stream<String> lines = Files.lines(file.toPath())) {
                    String packageLine = lines.filter(line -> line.startsWith("package"))
                        .findFirst()
                        .orElseThrow(() -> new IOException("Can't find package definition in file " + file));
                    Matcher matcher = pattern.matcher(packageLine);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 02 14:18:24 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

            this.metadata = metadata;
        }
    
        @Override
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
                    Files.createDirectories(result.toPath().getParent());
                    Files.copy(current.toPath(), result.toPath());
                }
                ArtifactRepository localRepo = new MetadataRepository(result);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java

            try (InputStream is = Files.newInputStream(src)) {
                return new MavenStaxReader().read(is, false, null);
            }
        }
    
        protected void write(Model model, Path dest) throws IOException, XMLStreamException {
            String version = model.getModelVersion();
            Files.createDirectories(dest.getParent());
            try (Writer w = Files.newBufferedWriter(dest)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
        }
    
        private void cleanupTemporaryFiles(List<File> files) {
            for (File file : files) {
                // really don't care if it failed here only log warning
                if (!file.delete()) {
                    logger.warn("skip failed to delete temporary file : " + file.getAbsolutePath());
                    file.deleteOnExit();
                }
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 09:46:53 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. docs/resiliency/resiliency-tests.sh

    	induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE)) $FILE
    	induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 1)) $FILE
    	induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 2)) $FILE
    	induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 3)) $FILE
    	WANT='{ "before": { "color": "red", "missing": 0, "corrupted": 4 }, "after": { "color": "green", "missing": 0, "corrupted": 0 }, "args": {"file": "'${FILE}'", "dir": "'${DIR}'"} }'
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 20.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Sep 30 08:09:09 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/RequestPomCollectionStrategy.java

        }
    
        @Override
        public List<MavenProject> collectProjects(MavenExecutionRequest request) throws ProjectBuildingException {
            List<File> files = Collections.singletonList(request.getPom().getAbsoluteFile());
            return projectsSelector.selectProjects(files, request);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Map;
    
    import eu.maveniverse.domtrip.Document;
    import eu.maveniverse.domtrip.DomTripException;
    import eu.maveniverse.domtrip.maven.MavenPomElements;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. src/archive/zip/reader_test.go

    	}
    	_, err = r.Open("test.txt")
    	if err != nil {
    		t.Errorf("Error reading file: %v", err)
    	}
    	if len(r.File) != 1 {
    		t.Fatalf("No entries in the file list")
    	}
    	if r.File[0].Name != "../test.txt" {
    		t.Errorf("Unexpected entry name: %s", r.File[0].Name)
    	}
    	if _, err := r.File[0].Open(); err != nil {
    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestOpenReaderInsecurePath(t *testing.T) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
Back to Top