pathtable

package
v0.0.0-...-88fa2b6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

README

Path Based Bubble Up Lookup Hash Table

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("Project info file not found")

ErrNotFound signals that the project was not found

Functions

This section is empty.

Types

type Client

type Client interface {
	Get(location string) (*model.ProjectInfo, error)
	Set(path string, info *model.ProjectInfo) error
}

Client is the interface for pathtable methods

func NewClient

func NewClient(config *Config) Client

NewClient instantiates a pathtable client

type Config

type Config struct {
	BaseDirectory string
}

Config is used to configure a pathtable Client

Jump to

Keyboard shortcuts

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