Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
type
defaultFileIO
struct
{}
Callers
15
Repair
Method · 0.65
WriteFile
Method · 0.65
Write
Method · 0.65
TestEncodeParityFilenameCollision
Function · 0.65
WriteFile
Method · 0.65
buildPARData
Function · 0.65
testFileCounts
Function · 0.65
testVerifyAllData
Function · 0.65
TestBadFilename
Function · 0.65
TestSetHashMismatch
Function · 0.65
WriteFile
Method · 0.65
Repair
Method · 0.65
Implementers
3
MemFS
memfs/memfs.go
defaultFileIO
par2/decoder.go
testFileIO
par2/decoder_test.go
Calls
no outgoing calls
Tested by
15
TestEncodeParityFilenameCollision
Function · 0.52
WriteFile
Method · 0.52
buildPARData
Function · 0.52
testFileCounts
Function · 0.52
testVerifyAllData
Function · 0.52
TestBadFilename
Function · 0.52
TestSetHashMismatch
Function · 0.52
WriteFile
Method · 0.52
buildPAR2Data
Function · 0.52
testShardCounts
Function · 0.52
testDecoderVerify
Function · 0.52
TestSetIDMismatch
Function · 0.52