Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for identityPath (0.36 sec)

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

     */
    internal
    sealed class CachedBuildState(
        val identityPath: Path,
    )
    
    
    /**
     * A build in the tree whose projects were loaded. May or may not have work scheduled.
     */
    internal
    sealed class BuildWithProjects(
        identityPath: Path,
        val rootProjectName: String,
        val projects: List<CachedProjectState>
    ) : CachedBuildState(identityPath)
    
    
    /**
     * A build in the tree with work scheduled.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy

            def container = Mock(ProjectState)
            _ * container.projectPath >> (parent == null ? Path.ROOT : parent.projectPath.child(name))
            _ * container.identityPath >> (parent == null ? build.identityPath : build.identityPath.append(parent.projectPath).child(name))
    
            def descriptor = Mock(ProjectDescriptor) {
                getName() >> name
                getProjectDir() >> new File("project")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/IntermediateModelController.kt

                readNonNull()
            }
        }
    
        fun <T> loadOrCreateIntermediateModel(identityPath: Path?, modelName: String, parameter: ToolingModelParameterCarrier?, creator: () -> T): T? {
            val key = ModelKey(identityPath, modelName, parameter?.hash)
            return loadOrCreateValue(key) {
                try {
                    val model = if (identityPath != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java

        public LifecycleAwareBuildCacheController createForRootBuild(Path identityPath, BuildCacheControllerFactory buildCacheControllerFactory, InstanceGenerator instanceGenerator) {
            return rootController.init(identityPath, buildCacheControllerFactory, instanceGenerator);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt

            }
    
            override fun <T> resolveScriptsForProject(identityPath: Path, action: () -> T): T {
                return fingerprintWriter.runCollectingFingerprintForProject(identityPath, action)
            }
    
            override fun <T> runCollectingFingerprintForProject(identityPath: Path, action: () -> T): T {
                return fingerprintWriter.runCollectingFingerprintForProject(identityPath, action)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java

            Path identityPath = assignPath(owner, buildDefinition.getName(), buildDefinition.getBuildRootDir());
            BuildIdentifier buildIdentifier = idFor(identityPath);
            StandAloneNestedBuild build = buildStateFactory.createNestedBuild(buildIdentifier, identityPath, buildDefinition, owner);
            buildSrcBuildsByOwner.put(owner, build);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/BuildTreeConfigurationCache.kt

         *
         * @param identityPath The project for which the model should be created, or null for a build scoped model.
         */
        fun <T> loadOrCreateIntermediateModel(identityPath: Path?, modelName: String, parameter: ToolingModelParameterCarrier?, creator: () -> T?): T?
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingTaskExecutionGraph.kt

            }
            reportCrossProjectTaskAccess(otherProjects)
        }
    
        private
        val Project.isReferrerProject: Boolean
            get() = this is ProjectInternal && identityPath == referrerProject.identityPath
    
        private
        fun reportCrossProjectTaskAccess(coupledProjects: Iterable<ProjectInternal>, requestPath: String? = null) {
            reportCoupledProjects(coupledProjects)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            readString()
    
        private
        fun identifyBuild(state: CachedBuildState) {
            val identityPath = state.identityPath.toString()
    
            eventEmitter.emitNowForCurrent(BuildIdentifiedProgressDetails { identityPath })
    
            if (state is BuildWithProjects) {
                val projects = convertProjects(state.projects, state.rootProjectName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt

            for (entry in entryDetails) {
                val identityPath = projectPathForKey(entry.key)
                if (identityPath == null || !checkedFingerprint.invalidProjects.contains(identityPath)) {
                    // Can reuse the value
                    previousValues[entry.key] = entry.value
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top