src code

instance method SpahQL#parentPath

SpahQL#parentPath() → String or null

Returns the parent path for the first item in this set, or null if this item is the root. For instance, a result with path “/foo/bar/baz” has parent path “/foo/bar”