config

package
v0.0.0-...-b38bbfa Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2017 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GitRuntimeData
	CurrentScoSession string
	// contains filtered or unexported fields
}

func New

func New(config *config.Config) *Config

func (*Config) Persist

func (config *Config) Persist()

func (*Config) SetCurrentScoSession

func (config *Config) SetCurrentScoSession(session string)

type FileModificationInfo

type FileModificationInfo struct {
	Op   uint32
	Date time.Time
}

type GitRuntimeData

type GitRuntimeData struct {
	CurrentScoSession string
	GitCommits        map[string]string
	Sessions          map[string]SessionData
}

type SessionData

type SessionData struct {
	FirstModificationDate time.Time
	Modifications         map[string][]FileModificationInfo
}

Jump to

Keyboard shortcuts

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