Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WriteToFile (0.32 sec)

  1. 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)
  2. 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)
  3. src/cmd/go/internal/modfetch/fetch.go

    	if zipExists {
    		return hashZip(mod, zipfile, ziphashfile)
    	}
    
    	// From here to the os.Rename call below is functionally almost equivalent to
    	// renameio.WriteToFile, with one key difference: we want to validate the
    	// contents of the file (by hashing it) before we commit it. Because the file
    	// is zip-compressed, we need an actual file — or at least an io.ReaderAt — to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top