]> git.corax.cc Git - toolbox/commit
include/inst: Allow functions to be used on foreign instances
authorMatthias Kruk <m@m10k.eu>
Thu, 22 Jul 2021 23:09:14 +0000 (08:09 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 22 Jul 2021 23:09:14 +0000 (08:09 +0900)
commit6a8ec48b65b374e20e5624969eb553de11fc28a5
tree2b72411c7f7feb93724c97a8b24679117879e6c1
parent1b204d911e0e7574094a25397119556d427b885f
include/inst: Allow functions to be used on foreign instances

Functions of the inst module assume that instances of the current
script are supposed to be manipulated. This makes it impossible for
the functions to be used to enquire or manipulate instances of other
scripts.
This commit changes the functions (where it makes sense) so they can
be used to operate on instances of scripts other than the one that is
executing them.
include/inst.sh