]> BookStack Code Mirror - system-cli/commit
Updated move to be a recursive copy+delete
authorDan Brown <redacted>
Sat, 6 May 2023 15:01:24 +0000 (16:01 +0100)
committerDan Brown <redacted>
Sat, 6 May 2023 15:01:24 +0000 (16:01 +0100)
commit80701a43c1fdfa683be9eec3b646d29640156eb5
tree4640b87a9bfb0c9ba0d019f5250dc3af625122ef
parentaa8d661ba7574515bd746758243f7b2224a166de
Updated move to be a recursive copy+delete

Added via new Directory helper class, which the existing recursive
delete function has been added to.
Done since rename would not work across filesystem boundaries.
Tested via a linuxserver BS setup.

Closes #6
src/Commands/RestoreCommand.php
src/Services/Directories.php [new file with mode: 0644]