mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
Renaming donut packages to match layout
This commit is contained in:
parent
15b26c5134
commit
665af44c70
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package data_v1
|
||||
package erasure_v1
|
||||
|
||||
import (
|
||||
"bytes"
|
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package data_v1
|
||||
package erasure_v1
|
||||
|
||||
import (
|
||||
"bytes"
|
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package frame_v1
|
||||
package fragment_v1
|
||||
|
||||
import (
|
||||
"bytes"
|
@ -6,7 +6,7 @@ import (
|
||||
"os"
|
||||
"reflect"
|
||||
|
||||
"github.com/minio-io/minio/pkg/storage/donut/frame/frame_v1"
|
||||
"github.com/minio-io/minio/pkg/storage/donut/fragment/fragment_v1"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@ -20,7 +20,7 @@ func main() {
|
||||
|
||||
dataBuffer := bytes.NewBuffer(data)
|
||||
|
||||
err = frame_v1.WriteFrame(file, dataBuffer, uint64(dataBuffer.Len()))
|
||||
err = fragment_v1.WriteFrame(file, dataBuffer, uint64(dataBuffer.Len()))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package frame_v1
|
||||
package fragment_v1
|
||||
|
||||
import (
|
||||
"bytes"
|
Loading…
Reference in New Issue
Block a user