util

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualKeySets

func EqualKeySets(m map[string]interface{}, inputKeys []string) bool

EqualKeySets returns true if the key set of the given `m` equals the given key string array `inputKeys`.

func Intersects

func Intersects(m map[string]interface{}, inputM map[string]interface{}) bool

Intersects returns true if the given two maps intersect.

func KeyIntersects

func KeyIntersects(m map[string]interface{}, inputKeys []string) bool

KeyIntersects returns true if the key set of the given `m` and the string array `inputKeys` intersects.

func ReadMetadataBytes added in v0.4.10

func ReadMetadataBytes(ctx context.Context, root ipld.Node, ds ipld.DAGService, meta bool) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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