git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3830eb9
)
commented functions
author
Justin J. Novack
<jnovack@gmail.com>
Wed, 19 Sep 2012 00:49:58 +0000
(20:49 -0400)
committer
Justin J. Novack
<jnovack@gmail.com>
Wed, 19 Sep 2012 00:49:58 +0000
(20:49 -0400)
src/phorkie/Tools.php
patch
|
blob
|
history
diff --git
a/src/phorkie/Tools.php
b/src/phorkie/Tools.php
index e4aab634583887e98b4e4985673bd4b092a00f19..9435dc047d560624036e464ccf76851c5b49ad2c 100644
(file)
--- a/
src/phorkie/Tools.php
+++ b/
src/phorkie/Tools.php
@@
-4,6
+4,13
@@
namespace phorkie;
class Tools
{
+ /**
+ * Delete an entire directory structure
+ *
+ * @param string $path Path to delete
+ *
+ * @return bool
+ */
public static function recursiveDelete($path)
{
if (!is_dir($path) || is_link($path)) {