Luna::Path::size

usize size() const

Gets the size of the path, that is, the number of name nodes in the path.

Return value

Returns the size of the path.