remove

fun remove(path: String, xattr: Boolean = false)

Removes the targeted element (or whole doc if path is empty)