Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 582 for ToPath (0.11 sec)

  1. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/StandaloneSessionBuilderAgainstStdlibTest.kt

            doTestKotlinStdLibResolve(JsPlatforms.defaultJsPlatform, PathUtil.kotlinPathsForDistDirectory.jsStdLibKlibPath.toPath())
        }
    
        @Test
        fun testKotlinStdLibJsWithInvalidKlib() {
            doTestKotlinStdLibResolve(
                JsPlatforms.defaultJsPlatform,
                PathUtil.kotlinPathsForDistDirectory.jsStdLibKlibPath.toPath(),
                additionalStdlibRoots = listOf(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 16 13:31:54 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioFiltersFile.groovy

            'default.vcxproj.filters'
        }
    
        def addSource(File sourceFile) {
            sources.appendNode("ClCompile", [Include: toPath(sourceFile)]).appendNode('Filter', 'Source Files')
        }
    
        def addHeader(File headerFile) {
            headers.appendNode("ClInclude", [Include: toPath(headerFile)]).appendNode('Filter', 'Header Files')
        }
    
        def getFilters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7Symlink.java

        public void symlink(File link, File target) throws Exception {
            link.getParentFile().mkdirs();
            Files.createSymbolicLink(link.toPath(), target.toPath());
        }
    
        @Override
        public boolean isSymlink(File suspect) {
            return Files.isSymbolicLink(suspect.toPath());
        }
    
        private static boolean doesSystemSupportSymlinks(TemporaryFileProvider temporaryFileProvider) {
            Path sourceFile = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. 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)
  6. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformer.java

            LinkedList<String> fromPath = splitPath(from);
            LinkedList<String> toPath = splitPath(to);
            List<String> relativePath = new ArrayList<String>();
    
            while (!fromPath.isEmpty() && !toPath.isEmpty() && fromPath.get(0).equals(toPath.get(0))) {
                fromPath.removeFirst();
                toPath.removeFirst();
            }
            for (String ignored : fromPath) {
                relativePath.add("..");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java

            }
        }
    
        private static void buildJar(File jarFile, Action action) throws IOException {
            Files.createDirectories(jarFile.getParentFile().toPath());
            try (ZipArchiveOutputStream outputStream = new ZipArchiveOutputStream(new BufferedOutputStream(Files.newOutputStream(jarFile.toPath()), BUFFER_SIZE))) {
                outputStream.setLevel(0);
                action.execute(new ZipEntryBuilder(outputStream));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/util/internal/RelativePathUtilTest.groovy

    class RelativePathUtilTest extends Specification {
    
        def "relative path from #fromPath to #toPath is #path"() {
            when:
            def from = new File(fromPath)
            def to = new File(toPath)
    
            then:
            RelativePathUtil.relativePath(from, to) == path
    
            where:
            fromPath | toPath  | path
            "a"      | "a/b"   | "b"
            "a"      | "a/b/a" | "b/a"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
                    Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
Back to top