Versions in this module Expand all Collapse all v0 v0.0.4 Dec 21, 2021 Changes in this version type Erasure + func (e *Erasure) Scale(new_k, new_m int) error + func (e *Erasure) Update(oldFile, newFile string) error v0.0.3 Dec 21, 2021 v0.0.2 Dec 6, 2021 Changes in this version + type Erasure struct + BlockSize int64 + ConStripes int + ConfigFile string + DiskFilePath string + DiskNum int + FileMeta []*fileInfo + K int + M int + Override bool + Quiet bool + ReplicateFactor int + func (e *Erasure) Destroy(mode string, failNum int) + func (e *Erasure) EncodeFile(filename string) (*fileInfo, error) + func (e *Erasure) InitSystem(assume bool) error + func (e *Erasure) ReadConfig() error + func (e *Erasure) ReadDiskPath() error + func (e *Erasure) ReadFile(filename string, savepath string) error + func (e *Erasure) Recover() (map[string]string, error) + func (e *Erasure) RemoveFile(filename string) error + func (e *Erasure) WriteConfig() error v0.0.1 Nov 20, 2021