Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 350 for topbtn (0.09 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/OutputsCleaner.java

                    break;
                }
                if (existsAndIsEmpty(directory)) {
                    LOGGER.debug("Deleting stale empty output directory '{}'.", directory);
                    Files.delete(directory.toPath());
                    didWork = true;
                    markParentDirForDeletion(directory);
                }
            }
        }
    
        private boolean existsAndIsEmpty(File parentDir) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/transform/TransformOutputs.java

         *     {@literal @}Override
         *     public void transform(TransformOutputs outputs) {
         *         File myOutput = outputs.dir("my-output");
         *         Files.write(myOutput.toPath().resolve("file.txt"), "Generated text");
         *     }
         * }
         * </pre>
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 05 15:49:03 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        public void retrieve(
                ArtifactRepository repository,
                File destination,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
        public Path getBasedir() {
            return nonNull(project.getBasedir(), "basedir").toPath();
        }
    
        @Nonnull
        @Override
        public List<DependencyCoordinate> getDependencies() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 16 08:45:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/templates/precompiled-script-plugin-utils/src/main/java/com/example/ReadmeVerificationTask.java

        public abstract ListProperty<String> getReadmePatterns();
    
        @TaskAction
        void verifyServiceReadme() throws IOException {
            String readmeContents = new String (Files.readAllBytes(getReadme().getAsFile().get().toPath()));
            for (String requiredSection : getReadmePatterns().get()) {
                Pattern pattern = Pattern.compile(requiredSection, Pattern.MULTILINE);
                if (!pattern.matcher(readmeContents).find()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

            this.modelLocator = modelLocator;
            this.modelReader = modelReader;
        }
    
        @Deprecated
        @Override
        public File locatePom(File projectDirectory) {
            return locatePom(projectDirectory.toPath()).toFile();
        }
    
        @Override
        public Path locatePom(Path projectDirectory) {
            // Note that the ModelProcessor#locatePom never returns null
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ClassLoaderUtilsTest.groovy

            File classpath = ClasspathUtil.getClasspathForClass(testClass)
            File classFile = new File(classpath, testClass.name.replace('.', '/') + '.class')
            byte[] bytes = Files.readAllBytes(classFile.toPath())
            MyClassLoader myClassLoader = new MyClassLoader()
    
            when:
            Class klass = ClassLoaderUtils.define(myClassLoader, DefaultClassLoaderFactoryTestHelper.name, bytes)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/validation/field/path.go

    type PathOption func(o *pathOptions)
    
    // WithPath generates a PathOption
    func WithPath(p *Path) PathOption {
    	return func(o *pathOptions) {
    		o.path = p
    	}
    }
    
    // ToPath produces *Path from a set of PathOption
    func ToPath(opts ...PathOption) *Path {
    	c := &pathOptions{}
    	for _, opt := range opts {
    		opt(c)
    	}
    	return c.path
    }
    
    // Path represents the path from some root to a particular field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 11 08:23:53 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/Jdk7FileCanonicalizer.java

    public class Jdk7FileCanonicalizer implements FileCanonicalizer {
        @SuppressWarnings("Since15")
        @Override
        public File canonicalize(File file) throws FileException {
            try {
                return file.toPath().toRealPath().toFile();
            } catch (IOException e) {
                throw new FileException(String.format("Could not canonicalize file %s.", file), e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/snapshot/SnapshottingServiceIntegrationTest.groovy

                def inputFile = project.file("input.txt")
                def snapshottingService = project.services.get(${SnapshottingService.name})
                def snapshot = snapshottingService.snapshotFor(inputFile.toPath())
    
                println("Snapshot for input file \${inputFile.name} is \$snapshot")
            """
            )
            pluginBuilder.generateForBuildSrc()
    
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top