pathBeforeTail property

String pathBeforeTail

A part without pathTail. The string will be normalized before processing. The result path will be normalized.

Implementation

String get pathBeforeTail {
  final l = npath.pathToList;
  return l.length < 2 ? '' : l.sublist(0, l.length - 1).listToNPath;
}