Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 138 for toPatch (0.66 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            // here and be safe. jvz.
            // ----------------------------------------------------------------------------
    
            try {
                Files.createDirectories(destination.toPath().getParent());
                Files.copy(file.toPath(), destination.toPath());
            } catch (IOException e) {
                throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e);
            }
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTar.java

                    }
                    return false;
                }
    
                private boolean isChildOf(final File directory, final File file) {
                    return file.toPath().startsWith(directory.toPath());
                }
    
                private boolean isSymbolicLink(final FileCopyDetailsInternal details) {
                    final File file;
                    try {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.7K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        @Override
        public void retrieve(
                ArtifactRepository repository,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle

              }
                .files
                .findAll { Files.isRegularFile(it.toPath()) }
    
              if (fileSet.empty) {
                // In cases where we don't match any workspace files, exclude everything
                ant.exclude(name: "**/*")
              } else {
                fileSet.each {
                  ant.include(name: projectDir.toPath().relativize(it.toPath()))
                }
              }
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
                ArtifactRepository remoteRepository = remoteRepository();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        override fun execute() {
            try {
                val versionToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>()
                val repositoryRoot = parameters.repositoryRoot.get().asFile.toPath()
                parameters.srcDirs.forEach { srcDir ->
                    if (srcDir.exists()) {
                        val collector = CompositeVersionsToIncubatingCollector(
                            listOf(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JavaClassPublicifier.java

            outputFile.getParentFile().mkdirs();
            Files.write(outputFile.toPath(), classWriter.toByteArray());
        }
    
        private void adjustClass(String classFile, Consumer<ClassNode> adjustor) throws IOException {
            try (InputStream is = Files.newInputStream(inputDir.get().file(classFile).getAsFile().toPath())) {
                ClassReader classReader = new ClassReader(is);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 931 bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/ResourcePublicSuffixList.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import okio.FileSystem
    import okio.Path
    import okio.Path.Companion.toPath
    import okio.Source
    
    internal class ResourcePublicSuffixList(
      override val path: Path = PUBLIC_SUFFIX_RESOURCE,
      val fileSystem: FileSystem = FileSystem.Companion.RESOURCES,
    ) : BasePublicSuffixList() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  10. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTarIT.java

            final Path realFolder = temporaryFolder.getRoot().toPath().resolve("real-folder");
            Files.createDirectory(realFolder);
            Files.createFile(realFolder.resolve("file"));
            Files.createSymbolicLink(realFolder.resolve("link-to-file"), Paths.get("./file"));
            final Path linkInFolder = temporaryFolder.getRoot().toPath().resolve("link-in-folder");
            Files.createDirectory(linkInFolder);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.6K bytes
    - Click Count (0)
Back to Top