docs: function findRelativePath (path, index = 0) {
    let nextInPath = _.last(path)
    if (path.length <= 1) {
      return index
    }
    if (nextInPath === '') { // . for sibling
      if (index <= 0) {
        index += 1
      }
      path.pop()
      return findRelativePath(path, index)
    } else if (nextInPath === '.') { // .. for sibling of parent
      if (index <= 0) {
        index += 1
      }
      path.pop()
      return findRelativePath(path, index + 1)
    }
  
    return index
  }