wktreeobserver

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitRuntimeData

type GitRuntimeData struct {
	GitCommits map[string]string
}

type WorkTreeObserver

type WorkTreeObserver struct {
	GitRuntimeData
	// contains filtered or unexported fields
}

TODO rename that struct since it's currently not observing anything - it's totally static

func New

func New(config *config.Config, gitConfig *gitconfig.Config) *WorkTreeObserver

func (*WorkTreeObserver) UpdateCurrentScoSession

func (observer *WorkTreeObserver) UpdateCurrentScoSession()

UpdateCurrentScoSession detects the current git work tree. If that has changed it creates a new unique sco session and stores it in the config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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