Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 131 for asFile (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

                    mutableModel.layout.buildDirectory.finalizeValue()
                    ProjectWithWork(project.projectPath, mutableModel.projectDir, mutableModel.buildFile, mutableModel.layout.buildDirectory.asFile.get(), mutableModel.normalization.computeCachedState())
                } else {
                    ProjectWithNoWork(project.projectPath, mutableModel.projectDir, mutableModel.buildFile)
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

                        layout.buildDirectory.file("overlap/\$fileName")
                    }
    
                    @TaskAction
                    void generate() {
                        outputFile.get().asFile.text = message
                    }
                }
    
                @CacheableTask
                class LocalStateDirectoryTask extends DefaultTask {
                    @LocalState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. src/internal/poll/fd_poll_runtime.go

    }
    
    func (pd *pollDesc) prepare(mode int, isFile bool) error {
    	if pd.runtimeCtx == 0 {
    		return nil
    	}
    	res := runtime_pollReset(pd.runtimeCtx, mode)
    	return convertErr(res, isFile)
    }
    
    func (pd *pollDesc) prepareRead(isFile bool) error {
    	return pd.prepare('r', isFile)
    }
    
    func (pd *pollDesc) prepareWrite(isFile bool) error {
    	return pd.prepare('w', isFile)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

            expect:
            def module = registry.getModule("gradle-some-module")
            module.implementationClasspath.asFiles == [classesDir, resourcesDir, staticResourcesDir]
            module.runtimeClasspath.asFiles == [externalRuntimeDep]
    
            def dep = registry.getExternalModule("dep")
            dep.implementationClasspath.asFiles == [externalRuntimeDep]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/initialization/InternalGradleFailuresIntegrationTest.groovy

            given:
            def localGradleCache = file('.gradle')
            localGradleCache.touch()
    
            when:
            fails 'hello'
    
            then:
            localGradleCache.isFile()
            assertHasStartupFailure(failure, "Cache directory '${localGradleCache}' exists and is not a directory.")
        }
    
        def "Error message due to unwritable gradle user home directory is not scary"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyIntegrationTest.groovy

            when:
            configurationCacheRun "build"
    
            then:
            configurationCache.assertStateStored()
            result.assertTasksExecuted(*expectedTasks)
    
            and:
            classFile.isFile()
            testClassFile.isFile()
            testResults.isDirectory()
    
            and:
            assertTestsExecuted("ThingTest", "ok")
    
            when:
            configurationCacheRun "clean"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            then:
            cachedClasspath.asFiles == [cachedFile]
            cachedFile.assertIsFile()
    
            and:
            1 * fileAccessTimeJournal.setLastAccessTime(cachedFile.parentFile, _)
            0 * fileAccessTimeJournal._
    
            when:
            def cachedClasspath2 = transformer.transform(classpath, BuildLogic)
    
            then:
            cachedClasspath2.asFiles == [cachedFile]
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/internal/scripts/DefaultScriptFileResolver.java

                    return candidate;
                }
            }
            return null;
        }
    
        private boolean isCandidateFile(File candidate) {
            notifyListener(candidate);
            return candidate.isFile();
        }
    
        @Override
        public List<File> findScriptsIn(File dir) {
            File[] candidates = dir.listFiles();
            if (candidates == null || candidates.length == 0) {
                return emptyList();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 07:44:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/internal/poll/fd_wasip1.go

    	// this is used by Fchdir to emulate setting the current directory
    	// to an open file descriptor.
    	Path string
    
    	// TODO(achille): it could be meaningful to move isFile from FD to a method
    	// on this struct type, and expose it as `IsFile() bool` which derives the
    	// result from the Filetype field. We would need to ensure that Filetype is
    	// always set instead of being lazily initialized.
    }
    
    func (s *SysFile) init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/internal/poll/sendfile_solaris.go

    	defer func() {
    		TestHookDidSendFile(dstFD, src, written, err, handled)
    	}()
    	if err := dstFD.writeLock(); err != nil {
    		return 0, err, false
    	}
    	defer dstFD.writeUnlock()
    
    	if err := dstFD.pd.prepareWrite(dstFD.isFile); err != nil {
    		return 0, err, false
    	}
    
    	dst := dstFD.Sysfd
    	for remain > 0 {
    		n := maxSendfileSize
    		if int64(n) > remain {
    			n = int(remain)
    		}
    		pos1 := pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top