Documentation ¶
Index ¶
- func Delete(s storage.Store, batch storage.Writer, namespace string, addr swarm.Address, ...) error
- func DeleteAll(s storage.Store, namespace string, addr swarm.Address) error
- func DeleteWithStamp(writer storage.Writer, namespace string, addr swarm.Address, stamp swarm.Stamp) error
- func Load(s storage.Reader, namespace string, addr swarm.Address) (swarm.Stamp, error)
- func LoadWithBatchID(s storage.Reader, namespace string, addr swarm.Address, batchID []byte) (swarm.Stamp, error)
- func Store(s storage.Writer, namespace string, chunk swarm.Chunk) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(s storage.Store, batch storage.Writer, namespace string, addr swarm.Address, batchId []byte) error
Delete removes a stamp associated with an chunk and batchID.
func DeleteWithStamp ¶
func Load ¶
Load returns first found swarm.Stamp related to the given address. The storage.ErrNoStampsForChunk is returned if no record is found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.