spec

package
v0.0.0-...-f2d0646 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabaseSpecString

func CreateDatabaseSpecString(protocol, path string) string

func CreateHashSpecString

func CreateHashSpecString(protocol, path string, h hash.Hash) string

func CreateValueSpecString

func CreateValueSpecString(protocol, path, value string) string

func GetChunkStore

func GetChunkStore(str string) (chunks.ChunkStore, error)

func GetDatabase

func GetDatabase(str string) (datas.Database, error)

func GetDataset

func GetDataset(str string) (dataset.Dataset, error)

func GetPath

func GetPath(str string) (datas.Database, types.Value, error)

func RegisterDatabaseFlags

func RegisterDatabaseFlags(flags *flag.FlagSet)

Types

type AbsolutePath

type AbsolutePath struct {
	// contains filtered or unexported fields
}

func NewAbsolutePath

func NewAbsolutePath(str string) (AbsolutePath, error)

func (AbsolutePath) Resolve

func (p AbsolutePath) Resolve(db datas.Database) (val types.Value)

func (AbsolutePath) String

func (p AbsolutePath) String() (str string)

Jump to

Keyboard shortcuts

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