Versions in this module Expand all Collapse all v0 v0.7.6 Jun 15, 2024 Changes in this version + const DeclTypeArray + const DeclTypeAssocArray + const DeclTypeInt + const DeclTypeNormal + func DeclMapFromState(state *packet.ShellState) map[string]*DeclareDeclType + func DeclsEqual(compareName bool, d1 *DeclareDeclType, d2 *DeclareDeclType) bool + func DumpVarMapFromState(state *packet.ShellState) + func EnvMapFromState(state *packet.ShellState) map[string]string + func RemoveFunc(funcs string, toRemove string) string + func SerializeDeclMap(declMap map[string]*DeclareDeclType) []byte + func ShellStateVarsToMap(shellVars []byte) map[string][]byte + func ShellVarMapFromState(state *packet.ShellState) map[string]string + func StrMapToShellStateVars(varMap map[string][]byte) []byte + type DeclareDeclType struct + Args string + IsExtVar bool + IsZshDecl bool + Name string + Value string + ZshBoundScalar string + ZshEnvValue string + func FindVarDecl(decls []*DeclareDeclType, name string) *DeclareDeclType + func VarDeclsFromState(state *packet.ShellState) []*DeclareDeclType + func (d *DeclareDeclType) AddFlag(flag string) + func (d *DeclareDeclType) DataType() string + func (d *DeclareDeclType) IsArray() bool + func (d *DeclareDeclType) IsAssocArray() bool + func (d *DeclareDeclType) IsExport() bool + func (d *DeclareDeclType) IsReadOnly() bool + func (d *DeclareDeclType) IsUniqueArray() bool + func (d *DeclareDeclType) IsZshScalarBound() bool + func (d *DeclareDeclType) Serialize() []byte + func (d *DeclareDeclType) SortZshFlags() + func (d *DeclareDeclType) UnescapedValue() string