Donut frame is now its own package

master
Frederick F. Kautz IV 10 years ago
parent 6c2428833a
commit b4ef522a9b
  1. 0
      pkg/storage/donut/frame/frame_v1/.gitignore
  2. 2
      pkg/storage/donut/frame/frame_v1/donut.go
  3. 0
      pkg/storage/donut/frame/frame_v1/donut_gen_v1/.gitignore
  4. 6
      pkg/storage/donut/frame/frame_v1/donut_gen_v1/donut_gen.go
  5. 2
      pkg/storage/donut/frame/frame_v1/donut_test.go

@ -14,7 +14,7 @@
* limitations under the License.
*/
package v1
package frame_v1
import (
"bytes"

@ -1,5 +1,3 @@
// +build ignore
package main
import (
@ -8,7 +6,7 @@ import (
"os"
"reflect"
"github.com/minio-io/minio/pkg/storage/donut/v1"
"github.com/minio-io/minio/pkg/storage/donut/frame/frame_v1"
)
func main() {
@ -22,7 +20,7 @@ func main() {
dataBuffer := bytes.NewBuffer(data)
err = v1.Write(file, dataBuffer, uint64(dataBuffer.Len()))
err = frame_v1.WriteFrame(file, dataBuffer, uint64(dataBuffer.Len()))
if err != nil {
panic(err)
}

@ -14,7 +14,7 @@
* limitations under the License.
*/
package v1
package frame_v1
import (
"bytes"
Loading…
Cancel
Save