envprobe.vartypes.string.String
- class String(name, raw_value='')
The standard type of environment variables.
Create a new
Stringvariable.Methods
__init__(name[, raw_value])Create a new
Stringvariable.apply_diff(diff)Applies the given difference to the value of the instance.
diff(old, new)Generate an iterable difference "actions" between two variables.
merge_diff(diff_a, diff_b)Creates a merged diff from two diffs that simulates the transitive application of the first and the second diff in order.
raw()Convert the value to raw shell representation.
type_description()The most basic environment variable, which contains type-nondescript strings as values.
Attributes
extended_attributesReturns the object managing the extended attributes (user-facing knowledge) about the variable.
nameThe name of the variable.
valueGet the value of the variable.