Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 109 for subdir (0.2 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/GradleBuildScriptExecutionFromSubDirIntegTest.groovy

                    }
                }
            """
            settingsFile << "include 'tmp'"
    
            when:
            def subdir = file("tmp")
            subdir.mkdirs()
            executer.inDirectory(subdir)
            succeeds ':checkDir'
    
            then:
            subdir.listFiles().length == 0
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/CompositeCleanupActionTest.groovy

            given:
            def firstCleanupAction = Mock(CleanupAction)
            def secondCleanupAction = Mock(CleanupAction)
            def subDir = temporaryFolder.file("subDir")
    
            when:
            CompositeCleanupAction.builder()
                .add(firstCleanupAction)
                .add(subDir, secondCleanupAction)
                .build()
                .clean(cleanableStore, progressMonitor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/codehost/svn.go

    	// in the local filesystem. (If there is an encoding problem at that point, we
    	// would probably reject the resulting module anyway.)
    
    	remotePath := remote
    	if subdir != "" {
    		remotePath += "/" + subdir
    	}
    
    	release, err := base.AcquireNet()
    	if err != nil {
    		return err
    	}
    	out, err := Run(ctx, workDir, []string{
    		"svn", "list",
    		"--non-interactive",
    		"--xml",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/cache/internal/scopes/DefaultCacheScopeMapping.java

            }
        }
    
        private File getCacheDir(File rootDir, VersionStrategy versionStrategy, String subDir) {
            switch (versionStrategy) {
                case CachePerVersion:
                    return new File(rootDir, version.getVersion() + "/" + subDir);
                case SharedCache:
                    return new File(rootDir, subDir);
                default:
                    throw new IllegalArgumentException();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:30:42 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. hack/update-netparse-cve.sh

            ':!:vendor/*'        `# catches vendor/...` \
            ':!:*/vendor/*'      `# catches any subdir/vendor/...` \
            ':!:third_party/*'   `# catches third_party/...` \
            ':!:*/third_party/*' `# catches any subdir/third_party/...` \
            ':!:*/testdata/*'    `# catches any subdir/testdata/...` \
            ':(glob)**/*.go' \
            "$@"
    }
    
    # replace net.ParseIP() and netParseIPCDR
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_pkgtags.txt

    ! go get example.net/missing/subdir@v0.1.0
    stderr '^go: module example.net/missing@v0.1.0 found \(replaced by ./missing\), but does not contain package example.net/missing/subdir$'
    
    go get example.net/missing@v0.1.0
    
    
    # Getting the subdirectory should continue to fail even if the corresponding
    # module is already present in the build list.
    
    ! go get example.net/missing/subdir@v0.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            }
            if (currentDepth < maxDepth) {
                for (int i = 0; i < dirCount; i++) {
                    File subDir = new File(parentDir, "dir" + fileIdGenerator.incrementAndGet())
                    subDir.mkdirs()
                    generateFilesAndSubDirectories(subDir, fileCount, dirCount, maxDepth, currentDepth + 1, fileIdGenerator)
                }
            }
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessConcurrencyTest.groovy

            (1..1000).each {
                def subdir = dir.file(it)
                subdir.file("in-dir.txt").createFile()
            }
    
            allowFileSystemAccess(true)
            read(dir)
            def executorService = Executors.newFixedThreadPool(100)
    
            when:
            (1..1000).each { num ->
                executorService.submit({
                    def locationToUpdate = dir.file(num).file("in-dir.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/initialization/layout/BuildLayoutFactoryTest.groovy

            and:
            def currentDir = tmpDir.createDir("sub/current")
            def subDir = tmpDir.createDir("sub")
            def settingsFile = subDir.createFile(settingsFilename)
            tmpDir.createFile(settingsFilename)
    
            expect:
            def layout = locator.getLayoutFor(currentDir, true)
            layout.rootDirectory == subDir
            layout.settingsDir == subDir
            layout.settingsFile == settingsFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileCollectionSpec.groovy

            dir1.file("subdir/f2").createFile()
            TestFile missing = testDir.file("f3")
            testDir.file("f2").createFile()
            testDir.file("ignored1").createFile()
            def collection = containing(file1, dir1, missing)
            def tree = collection.asFileTree
    
            expect:
            assertSetContainsForFileSet(tree, toSet("f1", "f2", "subdir/f2"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top