sponge
import "github.com/coralproject/shelf/internal/sponge"
Overview
Package sponge provides support for item importing.
Index
Package files
sponge.go
func Import(context interface{}, db *db.DB, graph *cayley.Handle, itm *item.Item) error
Import imports an item into the items collections and into the graph database.
func Remove(context interface{}, db *db.DB, graph *cayley.Handle, itemID string) error
Remove removes an item into the items collection and remove any
corresponding quads from the graph database.
Generated by godoc2md