Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 137 for sysdir (0.11 sec)

  1. 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)
  2. 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)
  3. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/internal/tasks/DefaultSourceSetTest.groovy

            SourceSet sourceSet = sourceSet('main')
            sourceSet.resources { srcDir 'src/resources' }
            expect:
            assertThat(sourceSet.resources.srcDirs, equalTo([tmpDir.file('src/resources')] as Set))
        }
    
        void canConfigureResourcesUsingAnAction() {
            SourceSet sourceSet = sourceSet('main')
            sourceSet.resources({ set -> set.srcDir 'src/resources' } as Action<SourceDirectorySet>)
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/FunctionalSourceSetIntegrationTest.groovy

                @Model
                void functionalSources(FunctionalSourceSet sources) {
                    sources.create("myJavaSourceSet", SomeJavaSourceSet) { LanguageSourceSet lss ->
                        lss.source.srcDir "src/main/myJavaSourceSet"
                    }
                }
            }
            apply plugin: Rules
            """
            expect:
            succeeds ("model", "printSourceDirs")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_volumes.go

    				cleanupFailed = true
    				err := fmt.Errorf("volumes subdir was found after it was removed")
    				klog.ErrorS(err, "Orphaned pod found, but failed to remove volumes subdir", "podUID", uid, "path", podSubdirPath)
    				continue
    			}
    			if err := removeall.RemoveAllOneFilesystem(kl.mounter, podSubdirPath); err != nil {
    				cleanupFailed = true
    				klog.ErrorS(err, "Failed to remove orphaned pod subdir", "podUID", uid, "path", podSubdirPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/file/ProjectLayoutIntegrationTest.groovy

            buildFile """
                def childDirName = "child"
                def srcDir = layout.projectDir.dir("src").dir(providers.provider { childDirName })
                def outputDir = layout.buildDirectory.dir(providers.provider { childDirName })
                println "src dir 1: " + srcDir.get()
                println "output dir 1: " + outputDir.get()
                buildDir = "output/some-dir"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 18:31:24 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      WriteString(file, "test");
      EXPECT_TF_OK(status_);
    
      const std::string subdir = io::JoinPath(base, "SubDir");
      tf_gcs_filesystem::CreateDir(filesystem_, subdir.c_str(), status_);
      EXPECT_TF_OK(status_);
      const std::string subfile = io::JoinPath(subdir, "TestSubFile.csv");
      WriteString(subfile, "test");
      EXPECT_TF_OK(status_);
    
      char** entries;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 12:04:23 UTC 2020
    - 24.9K 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. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    type pathInfo struct {
    	path  string
    	isDir bool
    }
    
    func (cc collisionChecker) check(p string, isDir bool) error {
    	fold := strToFold(p)
    	if other, ok := cc[fold]; ok {
    		if p != other.path {
    			return fmt.Errorf("case-insensitive file name collision: %q and %q", other.path, p)
    		}
    		if isDir != other.isDir {
    			return fmt.Errorf("entry %q is both a file and a directory", p)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
Back to top