Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for ToPath (0.18 sec)

  1. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/internal/IdeaDependenciesProvider.java

                library.setModuleVersion(DefaultModuleVersionIdentifier.newId(moduleId.getModuleIdentifier(), moduleId.getVersion()));
                Set<Path> sourcePaths = new LinkedHashSet<>();
                for (ResolvedArtifactResult sourceArtifact : sources) {
                    sourcePaths.add(toPath(ideaModule, sourceArtifact.getFile()));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            reports.filter { it.isDirectory }.forEach {
                val destFile = rootBuildDir.resolve("report$projectPathName-${it.name}.zip")
                zip(destFile, it)
            }
    
            // Zip all files in project build directory into a single zip file to avoid publishing too many tiny files
            reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            def target = tmpDir.file("target").tap { Files.createSymbolicLink(it.toPath(), linked.toPath()) }
    
            when:
            deleter.ensureEmptyDirectory(target, true)
    
            then:
            target.assertIsEmptyDir()
            linked.assertIsEmptyDir()
            Files.readSymbolicLink(target.toPath()) == linked.toPath()
            content.assertDoesNotExist()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            if (Files.isSymbolicLink(this.toPath())) {
                try {
                    Files.delete(toPath());
                } catch (IOException e) {
                    throw new UncheckedIOException(e);
                }
            }
            try {
                getParentFile().mkdirs();
                Files.createSymbolicLink(this.toPath(), target.toPath());
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementBuildTreeScopeServices.java

                "resource-at-url",
                timeProvider,
                cacheAccessCoordinator,
                externalResourceFileStore.getFileAccessTracker(),
                artifactCacheMetadata.getCacheDir().toPath()
            );
        }
    
        @Provides
        FileStoreAndIndexProvider createFileStoreAndIndexProvider(
            BuildCommencedTimeProvider timeProvider,
            ArtifactCachesProvider artifactCaches,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

            then:
            conditions.eventually {
                waitingForChangesMessageAppears()
            }
    
            when:
            changeListeners.broadcastChange(FileWatcherRegistry.Type.MODIFIED, file.toPath())
    
            then:
            conditions.eventually {
                rebuiltBecauseOfChange()
            }
    
            cleanup:
            cancellationToken.cancel()
            buildExits(runningBuild)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransactionTest.groovy

        private List<String> listAllFiles(File file) {
            return Files.find(file.toPath(), 99, { path, attributes -> attributes.isRegularFile() })
                .collect { file.toPath().relativize(it).toString().replace("\\", "/") }
                .toSorted()
        }
    
        private boolean hasOnlyDirectories(File file) {
            try (Stream<Path> stream = Files.walk(file.toPath())) {
                return stream.allMatch { Files.isDirectory(it) }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 18K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

        }
    
        protected FileOwnerAttributeView parseFileOwnerAttribute(final ResponseData responseData, final File file) {
            try {
                final FileOwnerAttributeView ownerAttrView = Files.getFileAttributeView(file.toPath(), FileOwnerAttributeView.class);
                if (ownerAttrView != null) {
                    final UserPrincipal owner = ownerAttrView.getOwner();
                    if (owner != null) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. 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)
  10. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import okhttp3.Cache
    import okhttp3.Dns
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top