Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for toPaths (0.14 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

                connection.notifyDaemonsAboutChangedPaths(toPaths(changedPaths))
            }
    
            then:
            toolingApi.daemons.daemons.empty
        }
    
        @TargetGradleVersion(">=6.1")
        def "changed paths need to be absolute"() {
            changedPaths = ["some/relative/path"]
    
            when:
            withConnection { connection ->
                connection.notifyDaemonsAboutChangedPaths(toPaths(changedPaths))
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

                    "Files.newByteChannel(File(\"$filePath\").toPath()).close()"
                }
    
                @Override
                String getJavaExpression() {
                    """
                    ((Supplier<Object>) () -> {
                        try {
                            Files.newByteChannel(new File("$filePath").toPath()).close();
                        } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/utils/DefaultInstrumentationAnalysisSerializer.java

        }
    
        @Override
        public void writeDependencyAnalysis(File output, InstrumentationDependencyAnalysis dependencyAnalysis) {
            try (KryoBackedEncoder encoder = new KryoBackedEncoder(Files.newOutputStream(output.toPath()))) {
                writeMetadata(dependencyAnalysis.getMetadata(), encoder);
                HierarchicalNameSerializer nameSerializer = new HierarchicalNameSerializer(stringInterner);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

                throw UnsupportedOperationException()
    
            override fun delete() {
                if (file.exists()) {
                    Files.delete(file.toPath())
                }
            }
    
            override fun moveFrom(file: File) {
                Files.move(file.toPath(), this.file.toPath(), StandardCopyOption.ATOMIC_MOVE)
            }
    
            override fun stateFileForIncludedBuild(build: BuildDefinition): ConfigurationCacheStateFile =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java

            missing = new File(UUID.randomUUID().toString());
            missingPath = missing.toPath();
            directory = File.createTempFile("jmh", "dir");
            directoryPath = directory.toPath();
            directory.mkdirs();
            realFile = File.createTempFile("jmh", "tmp");
            realFilePath = realFile.toPath();
    
            FileOutputStream fos = new FileOutputStream(realFile);
            fos.write(new byte[1024]);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixJdk7FilePermissionHandler.java

            final PosixFileAttributes posixFileAttributes = Files.readAttributes(file.toPath(), PosixFileAttributes.class);
            return convertToInt(posixFileAttributes.permissions());
        }
    
        @Override
        public void chmod(File f, int mode) throws IOException {
            PosixFileAttributeView fileAttributeView = Files.getFileAttributeView(f.toPath(), PosixFileAttributeView.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        @Override
        public Path getPath() {
            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. testing/smoke-ide-test/src/smokeIdeTest/groovy/org/gradle/ide/sync/AbstractIdeaSyncTest.groovy

         * The IDE distribution is automatically downloaded if required.
         */
        protected void ideaSync(String version) {
            def gradleDist = distribution.gradleHomeDir.toPath()
            def ide = "ic-$version"
            runIdeStarterWith(gradleDist, testDirectory.toPath(), ideHome, ide)
        }
    
        protected TestFile getTestDirectory() {
            temporaryFolder.testDirectory
        }
    
        protected TestFile file(Object... path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:28:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

        public Path getPath() {
            return path;
        }
    
        @Deprecated
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Cache
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.robolectric.RobolectricTestRunner
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top