How does one completely empty (or delete all files in) a filesystem?
Is there no 1 line solution like localStorage (localStorage.clear()
)? Or am I missing something really, really obvious?
Apparently, I wasn't very clear. I'm referring to the HTML5 Filesystem API. http://www.html5rocks.com/en/tutorials/file/filesystem/