Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 396 for relativeTo (0.26 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/VfsRelativePath.java

    import static org.gradle.internal.snapshot.PathUtil.isFileSeparator;
    
    /**
     * A relative path represented by a path suffix of an absolute path.
     *
     * The use of this class is to improve performance by avoiding to call {@link String#substring(int)}.
     * The class represents the relative path of absolutePath.substring(offset).
     *
     * A relative path does not start or end with a slash.
     */
    public class VfsRelativePath {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

                                relativeExpected = project.file('/path/to/Thing.groovy').absolutePath - projectDirPath
                                println "3: ${relative == relativeExpected}"
                                assert relative == relativeExpected
    
                                assert p.theFile4
                                relative = p.theFile4.absolutePath - projectDirPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        Manifest manifest = manifestClasspath("file:/with/absolute.jar relative.jar  relative/dir");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest))
            .containsExactly(
                fullpath("/with/absolute.jar"),
                fullpath("base/relative.jar"),
                fullpath("base/relative/dir"))
            .inOrder();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

            file('foo/c/2').mkdir()
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            where:
            [api, pathSensitivity] << [Api.values(), [PathSensitivity.RELATIVE, PathSensitivity.ABSOLUTE, PathSensitivity.NAME_ONLY]].combinations()
        }
    
        def "input directories ignore empty directories by default (#api)"() {
            buildFile """
                @CacheableTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. src/cmd/internal/src/pos.go

    // position base ("absolute" file position).
    //
    // The position base is used to determine the "relative" position, that is the
    // filename and line number relative to the position base. If the base refers
    // to the current file, there is no difference between absolute and relative
    // positions. If it refers to a //line directive, a relative position is relative
    // to that directive. A position base in turn contains the position at which it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt

         */
        val resources: ResourceHandler
    
        /**
         * Returns the relative path from this script's target base directory to the given path.
         *
         * The given path object is (logically) resolved as described for [file],
         * from which a relative path is calculated.
         *
         * @param path The path to convert to a relative path.
         * @return The relative path.
         */
        fun relativePath(path: Any): String
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/Script.java

        /**
         * <p>Returns the relative path from the directory containing this script to the given path. The given path object
         * is (logically) resolved as described for {@link #file(Object)}, from which a relative path is calculated.</p>
         *
         * @param path The path to convert to a relative path.
         * @return The relative path. Never returns null.
         */
        String relativePath(Object path);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

        /**
         * Returns the relative path from this script's target base directory to the given path.
         *
         * The given path object is (logically) resolved as described for [KotlinInitScript.file],
         * from which a relative path is calculated.
         *
         * @param path The path to convert to a relative path.
         * @return The relative path.
         */
        @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformExecutionResult.java

     *
     * The result of running a transform is a list of outputs.
     * There are two kinds of outputs for a transform:
     * - Produced outputs in the workspace. Those are relative paths depending on the workspace root, independent of the input artifact.
     * - Selected parts of the input artifact. These are relative paths of locations selected in the input artifact, independent of the workspace directory.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/extensions.kt

        // Compile All has to succeed before anything else is started
        dependsOn(RelativeId(compileAllId))
        // Get the build receipt from sanity check to reuse the timestamp
        artifacts(RelativeId(compileAllId)) {
            id = "ARTIFACT_DEPENDENCY_$compileAllId"
            cleanDestination = true
            artifactRules = "build-receipt.properties => incoming-distributions"
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top