PathList children(int types = 0, const std::string& nameGlob = "") const;
+ /**
+ * test if the directory contains no children (except '.' and '..')
+ */
+ bool isEmpty() const;
+
SGPath file(const std::string& name) const;
SGPath path() const
*/
bool remove(bool recursive = false);
+ /**
+ * remove our children but not us
+ */
+ bool removeChildren() const;
+
+
/**
* Check that the directory at the path exists (and is a directory!)
*/