(hash string)
| 129 | } |
| 130 | |
| 131 | func (this *FS) RemoveFile(hash string) error { |
| 132 | if this.isClosed { |
| 133 | return errors.New("the fs closed") |
| 134 | } |
| 135 | |
| 136 | bFile, err := this.openBFileForHashWriting(hash) |
| 137 | if err != nil { |
| 138 | return err |
| 139 | } |
| 140 | return bFile.RemoveFile(hash) |
| 141 | } |
| 142 | |
| 143 | func (this *FS) Close() error { |
| 144 | if this.isClosed { |