- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for writeToFile (0.14 sec)
-
platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/MixedLanguageIntegrationTest.groovy
} } } } } } """ and: helloWorldApp.files.each { SourceFile sourceFile -> sourceFile.writeToFile(file("src/main/flat/${sourceFile.name}")) } when: run "mainExecutable" then: def mainExecutable = executable("build/exe/main/main") mainExecutable.assertExists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy
thrown RuntimeException when: lock.readFile({}) then: thrown FileIntegrityViolationException } def "existing lock is unlocked cleanly after writeToFile() has been called"() { when: def lock = this.createLock(Exclusive) lock.writeFile({}) lock.updateFile({} as Runnable) then: lock.unlockedCleanly
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 13.6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy
} @ToBeFixedForConfigurationCache def "uses headers co-located with sources"() { given: // Write headers so they sit with sources helloWorldApp.files.each { it.writeToFile(file("src/main/c/${it.name}")) } buildFile << """ model { components { main(NativeExecutableSpec) { sources { c.source.include "**/*.c"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go
info.ClientKeyData = []byte{} info.ClientCertificateData = []byte{} info.ClientKey = pemPath info.ClientCertificate = pemPath // Writes the kubeconfig back to disk. if err = clientcmd.WriteToFile(*kubeconfig, kubeconfigPath); err != nil { return errors.Wrapf(err, "failed to serialize %q", kubeconfigPath) } // Restart the kubelet.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 10:54:51 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/kubeconfig/kubeconfig.go
} return client, nil } // WriteToDisk writes a KubeConfig object down to disk with mode 0600 func WriteToDisk(filename string, kubeconfig *clientcmdapi.Config) error { err := clientcmd.WriteToFile(*kubeconfig, filename) if err != nil { return err } return nil } // GetClusterFromKubeConfig returns the default Cluster of the specified KubeConfig
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 10:21:33 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AbstractTransformExecution.java
TransformExecutionResultSerializer resultSerializer = new TransformExecutionResultSerializer(); resultSerializer.writeToFile(getResultsFile(workspace), result); return result; } finally { context.setResult(ExecuteTransformActionBuildOperationType.RESULT_INSTANCE); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:52:44 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy
file("buildSrc").deleteDir() def builder = artifactBuilder() fixture.workActionThatCreatesFiles.writeToFile builder.sourceFile("org/gradle/test/TestWorkAction.java") fixture.testParameterType.writeToFile builder.sourceFile("org/gradle/test/TestParameters.java") builder.sourceFile("org/gradle/other/Foo.java") << """ $fixture.parameterClass
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 31K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go
"https://localhost:1234", "kubernetes-test", "user-test", certificateAuthorityData, encodedClientKey, pkiutil.EncodeCertPEM(cert), ) if err := clientcmd.WriteToFile(*config, filepath.Join(dir, name)); err != nil { t.Fatalf("couldn't write out certificate") } return cert } func TestFileExists(t *testing.T) { tmpdir, err := os.MkdirTemp("", "")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 15:17:24 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy
@NotYetImplemented def "visual studio project includes headers co-located with sources"() { when: // Write headers so they sit with sources app.files.each { it.writeToFile(file("src/main/cpp/${it.name}")) } settingsFile << """ rootProject.name = 'app' """ buildFile << """ apply plugin: 'cpp-application' """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 13.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter.go
newConfig.AuthInfos[authInfoName].ClientKeyData = encodedClientKey newConfig.AuthInfos[authInfoName].ClientCertificateData = pkiutil.EncodeCertPEM(newCert) // writes the kubeConfig to disk return clientcmd.WriteToFile(*newConfig, rw.kubeConfigFilePath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 01 03:09:53 UTC 2024 - 8.4K bytes - Viewed (0)