Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for subdir (0.14 sec)

  1. 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)
  2. src/cmd/covdata/tool_test.go

    	// 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)
    	}
    
    	// Emit program.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    // reach out into testdata from parent packages.
    func adbCopyTree(deviceCwd, subdir string) error {
    	dir := ""
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildChangeReportingIntegrationTest.groovy

            // received file changes for all the files inside.
            def inputSubdirectories = (1..changesLimit).collect { inputDir.createDir("subdir${it}")}
            def inputFiles = inputSubdirectories.collect { inputDir.file("input.txt") }
            when:
            succeeds("theTask")
            inputFiles.each { it.createFile() }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/internal/modfetch/codehost/git.go

    	if old == nil {
    		return fmt.Errorf("missing origin")
    	}
    	if old.VCS != "git" || old.URL != r.remoteURL {
    		return fmt.Errorf("origin moved from %v %q to %v %q", old.VCS, old.URL, "git", r.remoteURL)
    	}
    	if old.Subdir != subdir {
    		return fmt.Errorf("origin moved from %v %q %q to %v %q %q", old.VCS, old.URL, old.Subdir, "git", r.remoteURL, subdir)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/codehost/codehost.go

    	// remains up to date. If so, whatever cached object it was
    	// taken from can be reused.
    	// The subdir gives subdirectory name where the module root is expected to be found,
    	// "" for the root or "sub/dir" for a subdirectory (no trailing slash).
    	CheckReuse(ctx context.Context, old *Origin, subdir string) error
    
    	// Tags lists all tags with the given prefix.
    	Tags(ctx context.Context, prefix string) (*Tags, error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    		if !strings.HasPrefix(zf.Name, subdir) || strings.HasSuffix(zf.Name, "/") {
    			continue
    		}
    
    		n := strings.TrimPrefix(zf.Name, subdir)
    		if n == "" {
    			continue
    		}
    		n = strings.TrimPrefix(n, "/")
    
    		fs = append(fs, zipFile{
    			name: n,
    			f:    zf,
    		})
    		if n == "LICENSE" {
    			haveLICENSE = true
    		}
    	}
    
    	if !haveLICENSE && subdir != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    		)
    		if err != nil {
    			return "", err
    		}
    	}
    
    	return finalPkgpath, nil
    }
    
    // subdir determines the package based on the current working directory,
    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func subdir() (pkgpath string, underGoRoot bool, err error) {
    	cwd, err := os.Getwd()
    	if err != nil {
    		return "", false, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 23.4K bytes
    - Viewed (0)
  10. pkg/volume/util/subpath/subpath_linux.go

    	}
    
    	for curDir := endDir; curDir != baseDir; curDir = filepath.Dir(curDir) {
    		s, err := os.Stat(curDir)
    		if err != nil {
    			if os.IsNotExist(err) {
    				klog.V(5).Infof("curDir %q doesn't exist, skipping", curDir)
    				continue
    			}
    			return fmt.Errorf("error stat %q: %v", curDir, err)
    		}
    		if !s.IsDir() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
Back to top