Versions in this module Expand all Collapse all v0 v0.1.0 Mar 19, 2022 Changes in this version + func AppendTarFile(tarFile string, file *File) error + func FileHasher() hash.Hash + func ReadTarBuffer(tarFile string) (*bytes.Buffer, error) + func Tar(sourceDir string, tarFile string) error + func Untar(tarFile string, targetDir string) error + type File struct + func NewBufferFile(name string, buffer *bytes.Buffer) *File + func NewBytesFile(name string, data []byte) *File + func (f *File) Address() swarm.Address + func (f *File) CalculateHash() error + func (f *File) DataReader() io.Reader + func (f *File) Hash() []byte + func (f *File) Name() string + func (f *File) SetAddress(a swarm.Address) + func (f *File) SetHash(h []byte) + func (f *File) Size() int64