I cloned a repository using the GitWrapper, that worked perfectly fine. However I need to remove the cloned repository after my main task finishes. I use laravel 9 and it seems that laravel has problems removing the .git folder. The rest of the repository gets removed successfully and using chmod('path/', 0777); also did not work. Is there any function in the GitWrapper that is capable of also removing the .git folder?
I cloned a repository using the GitWrapper, that worked perfectly fine. However I need to remove the cloned repository after my main task finishes. I use laravel 9 and it seems that laravel has problems removing the
.git
folder. The rest of the repository gets removed successfully and usingchmod('path/', 0777);
also did not work. Is there any function in the GitWrapper that is capable of also removing the.git
folder?