Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 316 for Dirs (0.1 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy

            when:
            def dirs = set.sourceDirectories
            set.srcDir 'dir1'
    
            then:
            dirs.files == [testDir.file('dir1')] as Set
    
            when:
            set.srcDir 'dir2'
    
            then:
            dirs.files == [testDir.file('dir1'), testDir.file('dir2')] as Set
    
            when:
            set.srcDirs = []
    
            then:
            dirs.files.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  2. src/os/dir.go

    func ReadDir(name string) ([]DirEntry, error) {
    	f, err := openDir(name)
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    
    	dirs, err := f.ReadDir(-1)
    	slices.SortFunc(dirs, func(a, b DirEntry) int {
    		return bytealg.CompareString(a.Name(), b.Name())
    	})
    	return dirs, err
    }
    
    // CopyFS copies the file system fsys into the directory dir,
    // creating dir if necessary.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModule.java

     *
     *     //and some extra test source dirs
     *     testSources.from(file('some-extra-test-dir'))
     *
     *     //and some extra resource dirs
     *     resourceDirs += file('some-extra-resource-dir')
     *
     *     //and some extra test resource dirs
     *     testResources.from(file('some-extra-test-resource-dir'))
     *
     *     //and hint to mark some of existing source dirs as generated sources
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 09:58:16 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/idea/IdeaCompilerOutput.java

    /**
     * IDEA compiler output settings.
     */
    public interface IdeaCompilerOutput {
    
        /**
         * whether current module should inherit project's output directory.
         *
         * @return inherit output dirs flag
         * @see #getOutputDir()
         * @see #getTestOutputDir()
         */
        boolean getInheritOutputDirs();
    
        /**
         * directory to store module's production classes and resources.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/PathNormalizationStrategyTest.groovy

            def dirs = [emptyRootDir, resources.file(subDirA), resources.file(subDirB), resources]
            def files = [jarFile1, jarFile2, resources.file(fileInRoot), resources.file(fileInSubdirA), resources.file(fileInSubdirB)]
    
            return directorySensitivity == DirectorySensitivity.DEFAULT ? (dirs + files) : files
        }
    
        protected TestFile file(String... path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. pkg/volume/util/nested_volumes.go

    }
    
    // MakeNestedMountpoints creates mount points in baseDir for volumes mounted beneath name
    func MakeNestedMountpoints(name, baseDir string, pod v1.Pod) error {
    	dirs, err := getNestedMountpoints(name, baseDir, pod)
    	if err != nil {
    		return err
    	}
    	for _, dir := range dirs {
    		err := os.MkdirAll(filepath.Join(baseDir, dir), 0755)
    		if err != nil {
    			return fmt.Errorf("unable to create nested volume mountpoints: %v", err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 12:19:17 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy

            expect:
            convention.sourceCompatibility == JavaVersion.VERSION_14
            convention.targetCompatibility == JavaVersion.VERSION_14
    
        }
    
        def "default dirs"() {
            expect:
            checkDirs()
        }
    
        def "dynamic dirs"() {
            when:
            project.buildDir = project.file('mybuild')
    
            then:
            checkDirs()
        }
    
        private void checkDirs() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/main/java/org/gradle/language/base/LanguageSourceSet.java

     */
    @Incubating
    @HasInternalProtocol
    public interface LanguageSourceSet extends BuildableComponentSpec {
    
        // TODO: do we want to keep using SourceDirectorySet in the new API?
        // would feel more natural if dirs could be added directly to LanguageSourceSet
        // could also think about extending SourceDirectorySet
    
        /**
         * The source files.
         */
        SourceDirectorySet getSource();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            file.withInputStream { InputStream instr ->
                def dirs = [] as Set
                def zipStr = new ZipInputStream(instr)
                def entry
                while (entry = zipStr.getNextEntry()) {
                    if (entry.directory) {
                        assertTrue("Duplicate directory '$entry.name'", dirs.add(entry.name))
                    }
                    if (!entry.name.contains('/')) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

            """
            file("a/src/empty-dirs/ignore-me.txt").createFile()
            file("a/src/empty-dirs/a/dir").mkdirs()
    
            when:
            succeeds ":b:${language.compileTaskName}"
    
            then:
            executedAndNotSkipped ":a:${language.compileTaskName}"
            executedAndNotSkipped ":b:${language.compileTaskName}"
    
            when:
            file("a/src/empty-dirs/a/dir2").mkdirs()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30K bytes
    - Viewed (0)
Back to top