Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for subdir2 (0.79 sec)

  1. src/cmd/covdata/tool_test.go

    func buildProg(t *testing.T, prog string, dir string, tag string, flags []string) (string, string) {
    	// Create subdirs.
    	subdir := filepath.Join(dir, prog+"dir"+tag)
    	if err := os.Mkdir(subdir, 0777); err != nil {
    		t.Fatalf("can't create outdir %s: %v", subdir, err)
    	}
    	depdir := filepath.Join(subdir, "dep")
    	if err := os.Mkdir(depdir, 0777); err != nil {
    		t.Fatalf("can't create outdir %s: %v", depdir, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/vcs.go

    	readZip       func(rev, subdir, remote, target string) []string                                   // cmd to read rev's subdir as zip file
    	doReadZip     func(ctx context.Context, dst io.Writer, workDir, rev, subdir, remote string) error // arbitrary function to read rev's subdir as zip file
    }
    
    var re = lazyregexp.New
    
    var vcsCmds = map[string]*vcsCmd{
    	"hg": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/codehost/git_test.go

    			},
    		},
    
    		{
    			repo:   gitrepo1,
    			rev:    "aaaaaaaaab",
    			subdir: "",
    			err:    "unknown revision",
    		},
    		{
    			repo:   hgrepo1,
    			rev:    "aaaaaaaaab",
    			subdir: "",
    			err:    "unknown revision",
    		},
    
    		{
    			repo:   vgotest1,
    			rev:    "submod/v1.0.4",
    			subdir: "submod",
    			files: map[string]uint64{
    				"prefix/":                0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy

                    outputDirectory = file("build/output")
                }
            """
            def toBeModifiedPath = "in/some/subdir/input1.txt"
            def toBeRemovedPath = "in/some/subdir/input2.txt"
            def toBeAddedPath = "in/some/other/subdir/other-input.txt"
            file("input/$toBeModifiedPath").text = "input to copy"
            file("input/${toBeRemovedPath}").text = "input to copy"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 12:52:29 UTC 2022
    - 27.8K bytes
    - Viewed (0)
  5. pkg/volume/util/subpath/subpath_linux.go

    			// We need to check that info is not nil. This may happen when the incoming err is not nil due to stale mounts or permission errors.
    			if info != nil && info.IsDir() {
    				// skip subdirs of the volume: it only matters the first level to unmount, otherwise it would try to unmount subdir of the volume
    				return filepath.SkipDir
    			}
    
    			return nil
    		})
    		if err != nil {
    			return fmt.Errorf("error processing %s: %s", fullContainerDirPath, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/cache/internal/WrapperDistributionCleanupAction.java

        private GradleVersion determineGradleVersionFromBuildReceipt(File checksumDir) throws Exception {
            List<File> subDirs = listDirs(checksumDir);
            Preconditions.checkArgument(subDirs.size() == 1, "A Gradle distribution must contain exactly one subdirectory: %s", subDirs);
            return determineGradleVersionFromDistribution(single(subDirs));
        }
    
        @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

                }
            '''.stripIndent()
    
            when:
            run 'sync'
    
            then:
            file('dest').assertHasDescendants(
                'dir1/file1.txt',
                'dir2/subdir/file2.txt',
                'dir2/file3.txt',
                'emptyDir'
            )
        }
    
        def 'preserve keeps specified files in destDir'() {
            given:
            defaultSourceFileTree()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                 */
                if (Files.isDirectory(file)) {
                    Map<Path, String> names = new HashMap<>();
                    try (Stream<Path> subdirs = Files.list(file)) {
                        subdirs.filter(Files::isDirectory).forEach((subdir) -> {
                            Path mf = subdir.resolve(MODULE_INFO);
                            if (Files.isRegularFile(mf)) {
                                String name = null;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompileOptions.java

        public File getStubDir() {
            return stubDir;
        }
    
        /**
         * Sets the directory where Java stubs for Groovy classes will be stored during Java/Groovy joint
         * compilation. Defaults to {@code null}, in which case a temporary directory will be used.
         */
        public void setStubDir(File stubDir) {
            this.stubDir = stubDir;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransactionTest.groovy

            def destinationDir = spec.getDestinationDir()
            createNewFile(new File(destinationDir, "file.txt"))
            createNewFile(new File(destinationDir, "subDir/another-file.txt"))
            createNewFile(new File(destinationDir, "subDir/some-dest-file.class"))
            def annotationOutput = createNewDirectory(file("annotationOut"))
            createNewFile(new File(annotationOutput, "some-ann-file.ann"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top