Remove $stow_path parameter from unstow_{contents,node}{,_orig}()
commit9ce37d95759803313b4dbff8ff49f17f8702d674
authorAdam Spiers <stow@adamspiers.org>
Sat, 9 Mar 2024 17:49:49 +0000 (9 17:49 +0000)
committerAdam Spiers <stow@adamspiers.org>
Sat, 9 Mar 2024 17:57:04 +0000 (9 17:57 +0000)
tree87cbe9a4e2e9214d175c662aed8642f3b08aeb1c
parent4e2776224f1a35e1948dc8c1e388f94323e447da
Remove $stow_path parameter from unstow_{contents,node}{,_orig}()

Unlike with the stow_{contents,node}{,_orig}() counterpart functions,
when unstowing, it's not necessary to pass the $stow_path parameter
because it can never differ from $self->{stow_path}.

The stow_*() functions need this for the corner case of unfolding a
tree which is stowed from a different stow directory to the one being
used for the current stowing operation (see the "Multiple Stow
Directories" section of the manual).
lib/Stow.pm.in