Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 227 for subdir (0.26 sec)

  1. src/os/removeall_test.go

    	t.Parallel()
    
    	tempDir := t.TempDir()
    	subdir := filepath.Join(tempDir, "x")
    	if err := Mkdir(subdir, 0); err != nil {
    		t.Fatal(err)
    	}
    
    	// If an error occurs make it more likely that removing the
    	// temporary directory will succeed.
    	defer Chmod(subdir, 0777)
    
    	if err := RemoveAll(subdir); err != nil {
    		t.Fatal(err)
    	}
    
    	if _, err := Stat(subdir); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/fsys/fsys_test.go

    				{"overlayfiles", 0, true},
    				{"parentoverwritten", 0, true},
    				{"subdir1", 0, true},
    				{"subdir10", 0, true},
    				{"subdir11", 0, false},
    				{"subdir2", 0, true},
    				{"subdir3", 0, true},
    				{"subdir4", 2, false},
    				// no subdir5.
    				{"subdir6", 0, true},
    				{"subdir7", 0, true},
    				{"subdir8", 0, true},
    				{"subdir9", 0, true},
    				{"textfile.txt", 0, true},
    			},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K 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. 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)
  8. 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)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy

            then:
            assertIsDirectorySnapshot(snapshot, someDir)
    
            when:
            allowFileSystemAccess(false)
            def subDir = someDir.file("sub")
            snapshot = read(subDir)
            then:
            assertIsDirectorySnapshot(snapshot, subDir)
        }
    
        def "invalidate regular file"() {
            def parentDir = temporaryFolder.file("in/some")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_init_tidy.txt

    stderr '^go: to add module requirements and sums:\n\tgo mod tidy$'
    cd ..
    
    # 'go mod init' should recommend 'go mod tidy' if the directory has a
    # subdirectory. We don't walk the tree to see if it has .go files.
    cd subdir
    go mod init m
    stderr '^go: to add module requirements and sums:\n\tgo mod tidy$'
    cd ..
    
    -- empty/empty.txt --
    Not a .go file. Still counts as an empty project.
    -- empty/.hidden/empty.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 06 18:54:25 UTC 2021
    - 955 bytes
    - Viewed (0)
Back to top