Documentation
¶
Index ¶
- Constants
- func List() map[*Denv]bool
- func Pull(remote string, branch string) string
- func Push(remote string, branch string) string
- func UserHome() string
- type Config
- type Denv
- func (d *Denv) Enter()
- func (d *Denv) Exit()
- func (d *Denv) Files() (included []string, ignored []string, scripts []string)
- func (d *Denv) IsDenvFile(path string) bool
- func (d *Denv) IsIgnored(path string) bool
- func (d *Denv) IsScript(path string) bool
- func (d *Denv) LoadIgnore()
- func (d *Denv) MatchedFiles(root string) (included []string, ignored []string, scripts []string)
- func (d *Denv) Name() string
- func (d *Denv) SetDenvIgnore(path string)
- func (d *Denv) ToString() string
- type DenvInfo
Constants ¶
View Source
const (
Version = "v0.0.1-alpha"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
DenvHome string
IgnoreFile string
InfoFile string
RestoreDenv string
PreScript string
PostScript string
}
var Settings Config
type Denv ¶
func Deactivate ¶
func Deactivate() *Denv
Deactivate the current denv and restore it to the state before denv was active. Returns the name of the deactivated denv. Empty string if there was no denv to deactivate
func (*Denv) Files ¶
TODO addd denv.AddFile(path) Paths of files in the Denv Definition Tells you which paths are currently included and ignored
func (*Denv) IsDenvFile ¶
func (*Denv) MatchedFiles ¶
Given an arbitrary path, return which files would be included and which would be ignored. If path contains a folder, it will not be recursed into.
func (*Denv) SetDenvIgnore ¶
Click to show internal directories.
Click to hide internal directories.