keystore

package
v0.0.0-...-95a7e62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureObjectID

func EnsureObjectID(
	c *cache.Cache,
	origin cache.BlockOrigin,
	parentTrace *cache.Trace,
	objectIndex *blocks.ObjectID,
	key []byte,
) (blocks.ObjectID, error)

EnsureObjectID returns object ID for key. If the object ID does not exist it is created.

func GetObjectID

func GetObjectID(
	c *cache.Cache,
	origin cache.BlockOrigin,
	key []byte,
) (blocks.ObjectID, bool, error)

GetObjectID returns existing object ID for key.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL