- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 79 for subdir (0.34 sec)
-
src/os/example_test.go
if err != nil { log.Fatal(err) } } func ExampleMkdirAll() { err := os.MkdirAll("test/subdir", 0750) if err != nil { log.Fatal(err) } err = os.WriteFile("test/subdir/testfile.txt", []byte("Hello, Gophers!"), 0660) if err != nil { log.Fatal(err) } } func ExampleReadlink() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 17:35:49 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPackerTest.groovy
def sourceSubDir = sourceOutputDir.file("subdir").createDir() def sourceDataFile = sourceSubDir.file("data.txt") sourceDataFile << "output" def targetOutputDir = temporaryFolder.file("target").createDir() def targetSubDir = targetOutputDir.file("subdir") def targetDataFile = targetSubDir.file("data.txt") def output = new ByteArrayOutputStream()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepositoryTest.groovy
repository.isGeneratedByGradle(file('build/outputs')) repository.isGeneratedByGradle(file('build/outputs/directory')) repository.isGeneratedByGradle(file('build/outputs/directory/subdir')) repository.isGeneratedByGradle(file('build/file')) repository.isGeneratedByGradle(file('build/file/other')) !repository.isGeneratedByGradle(file('build/other'))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor.txt
exists $WORK/tmp/absolute-vendor-dir/modules.txt [short] stop # 'go build' and 'go test' using vendored packages should succeed. go build -mod=mod go build -mod=vendor go test -mod=vendor . ./subdir go test -mod=vendor ./... go fmt -mod=vendor ./... -- go.mod -- module m go 1.13 require ( a v1.0.0 diamondroot v0.0.0 mysite/myname/mypkg v1.0.0 w v1.0.0 // indirect
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 7.5K bytes - Viewed (0) -
src/os/path_test.go
t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", fpath, filepath.Clean(perr.Path), filepath.Clean(fpath)) } // Can't make subdirectory of file. ffpath := fpath + "/subdir" err = MkdirAll(ffpath, 0777) if err == nil { t.Fatalf("MkdirAll %q: no error", ffpath) } perr, ok = err.(*PathError) if !ok { t.Fatalf("MkdirAll %q returned %T, not *PathError", ffpath, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy
cacheEntries[2].assertExists() deletedFiles == [cacheEntries[1]] } def "can delete directories"() { given: def cacheEntry = cacheDir.file("subDir").createFile("somefile") cacheEntry.text = "delete me" when: cleanupAction(finder([cacheEntry.parentFile]), { true }) .clean(cleanableStore, progressMonitor) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.4K bytes - Viewed (0) -
hack/update-mocks.sh
function git_grep() { git grep --untracked --exclude-standard \ "$@" \ ':!:vendor/*' `# catches vendor/...` \ ':!:*/vendor/*' `# catches any subdir/vendor/...` \ ':!:third_party/*' `# catches third_party/...` \ ':!:*/third_party/*' `# catches third_party/...` \ ':!:*/testdata/*' `# catches any testdata` \ ':(glob)**/*.go' }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/cover/cfg_test.go
} func writeOutFileList(t *testing.T, infiles []string, outdir, tag string) ([]string, string) { outfilelist := filepath.Join(outdir, tag+"outfilelist.txt") var sb strings.Builder cv := filepath.Join(outdir, "covervars.go") outfs := []string{cv} fmt.Fprintf(&sb, "%s\n", cv) for _, inf := range infiles { base := filepath.Base(inf) of := filepath.Join(outdir, tag+".cov."+base) outfs = append(outfs, of)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 12:51:11 UTC 2024 - 7.8K bytes - Viewed (0) -
pkg/util/removeall/removeall_test.go
[]string{ "dir/", "dir/subdir1/", "dir/dir2/", "dir/dir2/subdir2/", "dir/dir2/mount/", "dir/dir2/mount/subdir3/", }, true, }, { "error", []string{ "dir/", "dir/subdir1/", "dir2/", "err/", "err/subdir3/", }, true, }, } for _, test := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 20:35:13 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/PathNormalizationStrategyTest.groovy
fingerprints[resources.file(fileInRoot)] == fileInRoot fingerprints[resources.file(subDirA)] == directoryFingerprintFor(subDirA, strategy.directorySensitivity) fingerprints[resources.file(fileInSubdirA)] == fileInSubdirA fingerprints[resources.file(subDirB)] == directoryFingerprintFor(subDirB, strategy.directorySensitivity) fingerprints[resources.file(fileInSubdirB)] == fileInSubdirB
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 7.1K bytes - Viewed (0)