- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 148 for toPath (0.03 sec)
-
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(Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Jun 02 09:57:54 UTC 2025 - 14.1K 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: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 931 bytes - Viewed (0) -
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() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 1.1K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
import javax.net.ssl.SSLSocketFactory import okhttp3.ConnectionSpec import okhttp3.OkHttp import okhttp3.survey.types.Client import okhttp3.survey.types.SuiteId import okio.FileSystem import okio.Path.Companion.toPath import org.conscrypt.Conscrypt fun currentOkHttp(ianaSuites: IanaSuites): Client = Client( userAgent = "OkHttp", version = OkHttp.VERSION, enabled =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
val classGraph = classGraph() val jarUri = URI.create("jar:${jarFile.toPath().toUri()}") FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem -> jarFileSystem.rootDirectories.forEach { visitClassDirectory(it, classGraph, classesDir, manifestFile.toPath(), buildReceipt.toPath()) } } return classGraph } private
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sat Mar 22 03:48:38 UTC 2025 - 7.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
@Override public void merge(File current, File result) throws RepositoryException { try { if (current.exists()) { Files.createDirectories(result.toPath().getParent()); Files.copy(current.toPath(), result.toPath()); } ArtifactRepository localRepo = new MetadataRepository(result); metadata.storeInLocalRepository(localRepo, localRepo); merged = true;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt
@DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly") abstract class SubprojectsInfo : DefaultTask() { private val rootPath = project.layout.projectDirectory.asFile.toPath() private val platformsFolder = project.layout.projectDirectory.dir("platforms") private val subprojectsFolder = project.layout.projectDirectory.dir("subprojects") private
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Mar 10 01:32:13 UTC 2025 - 3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
return Objects.requireNonNull(project.getFile(), "pomPath cannot be null") .toPath(); } @Nonnull @Override public Path getBasedir() { return Objects.requireNonNull(project.getBasedir(), "basedir cannot be null") .toPath(); } @Nonnull @Override public List<DependencyCoordinates> getDependencies() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 22:23:23 UTC 2025 - 8.7K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/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: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
import okhttp3.Headers.Companion.headersOf import okhttp3.internal.buildCache import okhttp3.java.net.cookiejar.JavaNetCookieJar import okhttp3.okio.LoggingFilesystem import okhttp3.testing.PlatformRule import okio.Path.Companion.toPath import okio.fakefilesystem.FakeFileSystem import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0)