Documentation ¶
Index ¶
- func AppendParts(ps []Part, block, blocks int, prefix string, truncate bool) error
- func CloseAllFilesForWrite()
- func Combine(parts []Part) ([]byte, error)
- func CombinePartFiles(in []string, out string, truncate, verbose bool) error
- func OpenFileForWrite(path string, truncate bool) (*os.File, error)
- func SplitIntoFiles(in string, parts, threshold uint8, prefix string, truncate, verbose bool) error
- type Part
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendParts ¶
func CloseAllFilesForWrite ¶
func CloseAllFilesForWrite()
func CombinePartFiles ¶
Types ¶
type Part ¶
type Part struct { Payload string `json:"payload"` Block int `json:"block"` Blocks int `json:"blocks"` Part int `json:"part"` Parts uint8 `json:"parts"` Threshold uint8 `json:"threshold"` Digest string `json:"digest"` Timestamp time.Time `json:"timestamp"` // contains filtered or unexported fields }
func CombineKeyFiles ¶
Click to show internal directories.
Click to hide internal directories.