Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecompressAndLoad ¶ added in v0.5.0
func DecompressAndLoad(qw graph.QuadWriter, cfg *config.Config, path, typ string, loadFn func(graph.QuadWriter, *config.Config, quad.Unmarshaler) error) error
DecompressAndLoad will load or fetch a graph from the given path, decompress it, and then call the given load function to process the decompressed graph. If no loadFn is provided, db.Load is called.
func Decompressor ¶
Decompressor detects the file type of an io.Reader between bzip, gzip, or raw quad file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.