Allow deleting snips (including git repo)
This commit is contained in:
@ -51,4 +51,9 @@ class SnipService
|
||||
{
|
||||
return $this->repo;
|
||||
}
|
||||
|
||||
public function deleteRepo(): void
|
||||
{
|
||||
system("rm -rf ".escapeshellarg($this->repo->getRepositoryPath()));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user