Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { Content types.ContextAlias // contains filtered or unexported fields }
func GetDefaultAlias ¶
GetDefaultAlias get the default alias with the path to the state file set
func (*Alias) ContainsAlias ¶
ContainsAlias checks if the given alias already exists if yes, returns the context name that is currently mapped to the alias
func (*Alias) WriteAlias ¶
WriteAlias write the alias state file with new Content returns the name of the overwritten context name in case there already exited a mapping context -> alias or returns nil
func (*Alias) WriteAllAliases ¶
WriteAllAliases overwrites the alias state file with new Content
Click to show internal directories.
Click to hide internal directories.