MCPcopy
hub / github.com/hyperledger/fabric / WriteFile

Method WriteFile

internal/peer/lifecycle/chaincode/common.go:44–44  ·  view source on GitHub ↗
(string, string, []byte)

Source from the content-addressed store, hash-verified

42// Writer defines the interface needed for writing a file
43type Writer interface {
44 WriteFile(string, string, []byte) error
45}
46
47func signProposal(proposal *pb.Proposal, signer Signer) (*pb.SignedProposal, error) {

Callers 15

pvtdata_test.goFile · 0.65
handleSigTermFunction · 0.65
renewPeerCertificateFunction · 0.65
createMSPFunction · 0.65
writeLocalMSPFunction · 0.65
config_test.goFile · 0.65
extendNetworkFunction · 0.65
refreshOrdererPEMsFunction · 0.65

Calls

no outgoing calls

Tested by 15

renewPeerCertificateFunction · 0.52
createMSPFunction · 0.52
writeLocalMSPFunction · 0.52
extendNetworkFunction · 0.52
refreshOrdererPEMsFunction · 0.52
renewOrdererCertificatesFunction · 0.52
updateMSPFolderFunction · 0.52