Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 486 for AbsolutePath (0.15 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/modulemap/GenerateModuleMapFileTest.groovy

            when:
            generateFile(moduleMapFile, "foo", [headers.absolutePath, moreHeaders.absolutePath, new File('does-not-exist').absolutePath])
    
            then:
            normaliseLineSeparators(moduleMapFile.text) == """module foo {
    \tumbrella "${headers.absolutePath}"
    \tumbrella "${moreHeaders.absolutePath}"
    \texport *
    }
    """
        }
    
        def "creates parent directory if necessary"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

        public Stream<FileSystemLocationSnapshot> rootSnapshotsUnder(String absolutePath) {
            return getNode(absolutePath)
                .map(FileSystemNode::rootSnapshots)
                .orElseGet(Stream::empty);
        }
    
        private Optional<FileSystemNode> getNode(String absolutePath) {
            VfsRelativePath relativePath = VfsRelativePath.of(absolutePath);
            return relativePath.isEmpty()
                ? Optional.of(rootNode)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinBinaryInfo.groovy

            def process = [dumpbin.absolutePath, '/LIST', binaryFile.absolutePath].execute(["PATH=$vcPath"], null)
            return process.inputStream.readLines().drop(3).collect { new File(it).name }
        }
    
        List<String> listLinkedLibraries() {
            def dumpbin = findExe("dumpbin.exe")
            def process = [dumpbin.absolutePath, '/IMPORTS', binaryFile.absolutePath].execute(["PATH=$vcPath"], null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdater.java

            watchedWatchableHierarchies.forEach(absolutePath -> decrement(absolutePath, changedWatchDirectories));
            watchedWatchableHierarchies.clear();
            newWatchedFiles.visitRoots(absolutePath -> {
                watchedWatchableHierarchies.add(absolutePath);
                increment(absolutePath, changedWatchDirectories);
            });
            if (!changedWatchDirectories.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 04:59:05 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/FilePathWithType.java

     */
    public class FilePathWithType {
        private final String absolutePath;
        private final FileType fileType;
    
        public FilePathWithType(String absolutePath, FileType fileType) {
            this.absolutePath = absolutePath;
            this.fileType = fileType;
        }
    
        public String getAbsolutePath() {
            return absolutePath;
        }
    
        public FileType getFileType() {
            return fileType;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/JavaInstallationRegistryIntegrationTest.groovy

                .withArgument("-Porg.gradle.java.installations.paths=${new File("/other/path").absolutePath}," + secondJavaHome)
                .withArgument("-Porg.gradle.java.installations.fromEnv=JDK1,JDK2")
                .withTasks("show")
                .run()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            when:
            configurationCacheRun 'build', '-I', initScript1.absolutePath, '-I', initScript2.absolutePath
    
            then:
            output.indexOf('initscript1!') < output.indexOf('initscript2!')
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun 'build', '-I', initScript2.absolutePath, '-I', initScript1.absolutePath
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemLeafSnapshotTest.groovy

            when:
            def targetSnapshot = sourceSnapshot.relocate(targetFile.absolutePath, stringInterner)
    
            then:
            !targetSnapshot.present
        }
    
        private VfsRelativePath childAbsolutePath(String relativePath) {
            VfsRelativePath.of("${initialRoot.absolutePath}/${relativePath}", initialRoot.absolutePath.length() + 1)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

            assert rootProject.projectDir == testDirectory.absolutePath
            assert rootProject.buildFile == buildFile.absolutePath
            assert rootProject.children.size() == 3 // All projects are created when storing
            with(rootProject.children.first() as Map<String, Object>) {
                assert name == 'a'
                assert path == ':a'
                assert projectDir == file('a').absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/WatchedHierarchiesTest.groovy

            def dir = new File("empty").absoluteFile
    
            when:
            def watched = resolveWatchedFiles(watchable, buildHierarchy([
                directory(dir.absolutePath, [])
            ]))
            then:
            rootsOf(watched) == [dir.absolutePath]
            1 * watchable.stream() >> Stream.of(dir)
        }
    
        def "does not watch directory with only missing files inside"() {
            def watchable = Mock(WatchableHierarchies)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top