MCPcopy
hub / github.com/cayleygraph/cayley / Load

Function Load

internal/load.go:20–22  ·  view source on GitHub ↗

Load loads a graph from the given path and write it to qw. See DecompressAndLoad for more information.

(qw quad.WriteCloser, batch int, path, typ string)

Source from the content-addressed store, hash-verified

18// Load loads a graph from the given path and write it to qw. See
19// DecompressAndLoad for more information.
20func Load(qw quad.WriteCloser, batch int, path, typ string) error {
21 return DecompressAndLoad(qw, batch, path, typ)
22}
23
24type readCloser struct {
25 quad.ReadCloser

Callers 3

NewLoadDatabaseCmdFunction · 0.92
openForQueriesFunction · 0.92
prepareFunction · 0.92

Calls 1

DecompressAndLoadFunction · 0.85

Tested by

no test coverage detected