repo

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2015 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInitialised = errors.New("repository already initialised")

Functions

func AddInitHook

func AddInitHook(hook InitHook)

func Init

func Init(force bool) error

Types

type Config added in v0.9.0

type Config interface {
	SalsaFlowEnabledTimestamp() time.Time
}

func LoadConfig added in v0.9.0

func LoadConfig() (Config, error)

type InitHook

type InitHook func() error

type LocalConfig added in v0.9.0

type LocalConfig struct {
	EnabledTimestamp time.Time `yaml:"salsaflow_enabled_timestamp"`
}

func (*LocalConfig) SalsaFlowEnabledTimestamp added in v0.9.0

func (config *LocalConfig) SalsaFlowEnabledTimestamp() time.Time

Jump to

Keyboard shortcuts

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