Module scallop::variables

source ·

Structs§

  • Flag values controlling how assignment statements are treated.
  • Flags for various attributes a given variable can have.
  • Provide access to bash’s $PIPESTATUS shell variable.

Traits§

Functions§

  • Return the ordered set of all shell variables.
  • Get the value of an array for a given variable name.
  • Get the expanded value of a given string.
  • Return the ordered set of all exported shell variables.
  • Get the raw string value of a given variable name, returning None when nonexistent.
  • Get the raw string value of a given variable name, returning an Error when nonexistent.
  • Get the string value of a given variable name splitting it into Vec based on IFS.
  • Unset a given variable name ignoring if it is nonexistent or readonly.
  • Unset a given variable name ignoring if it is nonexistent, erroring out if readonly.
  • Get the value of a given variable as Vec.
  • Return the ordered set of all visible shell variables.