Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for identityPath (0.65 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

        }
    
        override fun onProjectReference(referrer: ProjectState, target: ProjectState) {
            if (referrer.identityPath == target.identityPath)
                return
    
            if (host.cacheIntermediateModels) {
                val dependency = ProjectSpecificFingerprint.CoupledProjects(referrer.identityPath, target.identityPath)
                if (projectDependencies.add(dependency)) {
                    projectScopedWriter.write(dependency)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheProblemsListener.kt

            } else {
                PropertyTrace.Task(GeneratedSubclasses.unpackType(task), task.identityPath.path)
            }
    
        private
        fun problemsListenerFor(task: TaskInternal): ProblemsListener = when {
            task.isCompatibleWithConfigurationCache -> problems
            else -> problems.forIncompatibleTask(task.identityPath.path)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectModelAccessTrackingParentDynamicObject.kt

                    text("Project ")
                    reference(referrerProject.identityPath.toString())
                    text(" cannot dynamically look up a ")
                    text(memberKind.name.lowercase(Locale.ENGLISH))
                    text(" in the parent project ")
                    reference(ownerProject.identityPath.toString())
                }
                    .mapLocation { location ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top