- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for mkdirs (0.03 seconds)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
fun generate() { if (promotionBuild.get()) { logger.logBuildVersion() } val file = receiptFolder.file(buildReceiptLocation).get().asFile.also { it.parentFile.mkdirs() } ReproduciblePropertiesWriter.store( Properties().apply { put("commitId", commitId.getOrElse("HEAD")) put("versionNumber", version.get())
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 02:21:13 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt
projectDir.mkdirs() File(projectDir, "build.gradle").writeText(generateBuildGradle(version)) File(projectDir, "settings.gradle.kts").writeText(generateSettingsGradleKts(version)) File(projectDir, "gradle.properties").writeText(generateGradleProperties()) val manifestDir = File(projectDir, "src/main") manifestDir.mkdirs()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 09 09:24:29 GMT 2025 - 5.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
protected fun File.withFile(path: String, text: String = ""): File = resolve(path).apply { parentFile.mkdirs() writeText(text.trimIndent()) } protected fun File.withKotlinFile(path: String, @Language("kotlin") text: String): File = withFile(path, text) protectedCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 18K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt
val targetFilePath = "${relativePath.substringBeforeLast("/")}/${className}.groovy" val targetFile = outputDir.file(targetFilePath).get().asFile targetFile.parentFile.mkdirs() targetFile.writeText( """ package org.gradle.samples import org.gradle.integtests.fixtures.AbstractAutoTestedSamplesTest import org.junit.TestCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
*/ private fun zip(destZip: File, srcFiles: List<Pair<String, File>>) { if (srcFiles.isEmpty()) { return } destZip.parentFile.mkdirs() ZipOutputStream(FileOutputStream(destZip), StandardCharsets.UTF_8).use { zipOutput -> srcFiles.forEach { (relativePath: String, file: File) -> val zipEntry = ZipEntry(relativePath)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Nov 05 11:43:49 GMT 2025 - 12.5K bytes - Click Count (1) -
lib/time/update.bash
# in the CL match the update.bash in the CL. # Versions to use. CODE=2025c DATA=2025c set -e cd $(dirname $0) rm -rf work mkdir work go build -o work/mkzip mkzip.go # build now for correct paths in build errors cd work mkdir zoneinfo curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:47:56 GMT 2025 - 2.1K bytes - Click Count (0) -
cmd/os_unix.go
} if j > 1 { // Create parent. if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil { return err } } // Parent now exists; invoke Mkdir and use its result. if err := Mkdir(dirPath, perm); err != nil { if osIsExist(err) { return nil } return err } return nil } // The buffer must be at least a block long. // refer https://github.com/golang/go/issues/24015Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/erasure-multipart-conditional_test.go
func TestNewMultipartUploadConditionalWithReadQuorumFailure(t *testing.T) { ctx := context.Background() obj, fsDirs, err := prepareErasure16(ctx) if err != nil { t.Fatal(err) } defer obj.Shutdown(context.Background()) defer removeRoots(fsDirs) z := obj.(*erasureServerPools) xl := z.serverPools[0].sets[0] bucket := "test-bucket" object := "test-object"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
ci/official/utilities/setup_macos.sh
# VMs when needed. # TODO(b/316932689): Avoid copying and replace with a local repository rule. if [[ "$TFCI_MACOS_CROSS_COMPILE_ENABLE" == 1 ]]; then mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr" mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/System/Library/Frameworks/" cp -r "${TFCI_MACOS_CROSS_COMPILE_SDK_SOURCE}/usr/include" "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr/include"
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Oct 06 22:42:26 GMT 2025 - 6.8K bytes - Click Count (0) -
cmd/xl-storage.go
} // Nothing to delete if len(foundDirs) == 0 { return nil } // Delete excessive inline entries. // Convert to slice. dirs = dirs[:0] for dir := range foundDirs { dirs = append(dirs, dir) } if xl.data.remove(dirs...) { newBuf, err := xl.AppendTo(metaDataPoolGet()) if err == nil { defer metaDataPoolPut(newBuf)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0)