MCPcopy Create free account
hub / github.com/akalin/gopar / WriteFile

Method WriteFile

par2/decoder.go:21–21  ·  view source on GitHub ↗
(path string, data []byte)

Source from the content-addressed store, hash-verified

19 ReadFile(path string) ([]byte, error)
20 FindWithPrefixAndSuffix(prefix, suffix string) ([]string, error)
21 WriteFile(path string, data []byte) error
22}
23
24type defaultFileIO struct{}

Callers 15

RepairMethod · 0.65
WriteFileMethod · 0.65
WriteMethod · 0.65
WriteFileMethod · 0.65
buildPARDataFunction · 0.65
testFileCountsFunction · 0.65
testVerifyAllDataFunction · 0.65
TestBadFilenameFunction · 0.65
TestSetHashMismatchFunction · 0.65
WriteFileMethod · 0.65
RepairMethod · 0.65

Implementers 3

MemFSmemfs/memfs.go
defaultFileIOpar2/decoder.go
testFileIOpar2/decoder_test.go

Calls

no outgoing calls

Tested by 15

WriteFileMethod · 0.52
buildPARDataFunction · 0.52
testFileCountsFunction · 0.52
testVerifyAllDataFunction · 0.52
TestBadFilenameFunction · 0.52
TestSetHashMismatchFunction · 0.52
WriteFileMethod · 0.52
buildPAR2DataFunction · 0.52
testShardCountsFunction · 0.52
testDecoderVerifyFunction · 0.52
TestSetIDMismatchFunction · 0.52