- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 582 for ToPath (0.14 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java
public Path getPath() { return path; } @Deprecated public void merge(File existing, File result) throws RepositoryException { merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null); } @Override public void merge(Path existing, Path result) throws RepositoryException { Metadata recessive = read(existing); merge(recessive);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 16:33:18 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/swiftpm/tasks/GenerateSwiftPackageManagerManifest.java
return manifestFile; } @TaskAction public void generate() { DefaultPackage srcPackage = (DefaultPackage) packageProperty.get(); Path manifest = manifestFile.get().getAsFile().toPath(); try { Path baseDir = manifest.getParent(); Files.createDirectories(baseDir); PrintWriter writer = new PrintWriter(Files.newBufferedWriter(manifest, Charset.forName("utf-8")));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/SecureFileDownloader.java
private void moveFile(File targetFile, File downloadFile) throws IOException { try { Files.move(downloadFile.toPath(), targetFile.toPath(), StandardCopyOption.ATOMIC_MOVE); } catch (AtomicMoveNotSupportedException e) { Files.move(downloadFile.toPath(), targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/validation/MavenPublicationErrorChecker.java
switch (diff) { case FILE: { Path expectedFile = buildDir.relativize(expected.getFile().toPath()); Path actualFile = buildDir.relativize(actual.getFile().toPath()); return "\t- file differs (relative to " + projectDisplayName + "): (expected) " + expectedFile + " != (actual) " + actualFile; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 06:46:01 UTC 2024 - 7.4K bytes - Viewed (0) -
testing/smoke-ide-test/src/smokeIdeTest/groovy/org/gradle/ide/sync/AbstractIdeaSyncTest.groovy
* The IDE distribution is automatically downloaded if required. */ protected void ideaSync(String version) { def gradleDist = distribution.gradleHomeDir.toPath() def ide = "ic-$version" runIdeStarterWith(gradleDist, testDirectory.toPath(), ideHome, ide) } protected TestFile getTestDirectory() { temporaryFolder.testDirectory } protected TestFile file(Object... path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 16:28:38 UTC 2024 - 4.7K bytes - Viewed (0) -
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()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 931 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt
import okio.Path import okio.Path.Companion.toPath import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test @Tag("Slow") class OsgiTest { private lateinit var testResourceDir: Path private lateinit var workspaceDir: Path @BeforeEach fun setUp() { testResourceDir = "./build/resources/test/okhttp3/osgi".toPath() workspaceDir = testResourceDir / "workspace"
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.9K bytes - Viewed (0) -
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); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 3.8K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
@Singleton public class DefaultModelLocator implements ModelLocator { @Deprecated @Override public File locatePom(File projectDirectory) { Path path = locatePom(projectDirectory != null ? projectDirectory.toPath() : null); return path != null ? path.toFile() : null; } @Override public Path locatePom(Path projectDirectory) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 26 17:04:44 UTC 2024 - 2.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/internal/RelativePathUtil.java
* @param to where to calculate to * @return The relative path */ public static String relativePath(File from, File to) { try { return TextUtil.normaliseFileSeparators(from.toPath().relativize(to.toPath()).toString()); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 1.2K bytes - Viewed (0)