Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for relativizeFrom (0.63 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

         */
        public URI relativizeFrom(TestFile baseDir) {
            return baseDir.toURI().relativize(toURI());
        }
    
        /**
         * Returns a human-readable relative path to this file from the base directory passed to create this TestFile.
         *
         * Fails if this TestFile was created in a way that did not provide a relative base.
         *
         * @see #relativizeFrom(TestFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

            return getArtifact(options).file
        }
    
        @Override
        ModuleArtifact getArtifact(String relativePath) {
            def file = moduleDir.file(relativePath)
            def path = file.relativizeFrom(rootDir).path
            return new ModuleArtifact() {
                @Override
                String getPath() {
                    return path
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top