move decompressor to internal
This commit is contained in:
parent
2b86c283ec
commit
f64df95f23
5 changed files with 52 additions and 49 deletions
|
|
@ -25,6 +25,7 @@ import (
|
|||
"github.com/barakmich/glog"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
|
||||
"github.com/google/cayley/internal"
|
||||
"github.com/google/cayley/quad"
|
||||
"github.com/google/cayley/quad/cquads"
|
||||
)
|
||||
|
|
@ -82,7 +83,7 @@ func (api *API) ServeV1WriteNQuad(w http.ResponseWriter, r *http.Request, params
|
|||
blockSize = int64(api.config.LoadSize)
|
||||
}
|
||||
|
||||
quadReader, err := quad.Decompressor(formFile)
|
||||
quadReader, err := internal.Decompressor(formFile)
|
||||
// TODO(kortschak) Make this configurable from the web UI.
|
||||
dec := cquads.NewDecoder(quadReader)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue