code: @Nullable
    public DirectoryEntry getRoot(Name name) {
      Directory dir = roots.get(name);
      return dir == null ? null : dir.entryInParent();
    }
docs: Gets the directory entry for the root with the given name or {@code null} if no such root
  exists.