pop

Returns a path representing the parent of this one:

  • normal: /x/y/z => /x/y
  • normal: /x/y/ => /x/y
  • normal: /x => /
  • normal: / => empty

The result can be split via parse().

inout(char)[]
pop
(
inout(char)[] path
)

Meta