Documentation
¶
Index ¶
- Constants
- func List() map[*Denv]bool
- func Pull(remote string) []string
- func Push() []string
- func UserHome() string
- type Config
- type Denv
- func (d *Denv) Files() (included []string, ignored []string)
- func (d *Denv) IsDenvFile(path string) bool
- func (d *Denv) IsIgnored(path string) bool
- func (d *Denv) LoadIgnore()
- func (d *Denv) MatchedFiles(root string) (included []string, ignored []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.0"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
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.