public @Nullable DirectoryEntry getRoot(Name name) {
    Directory dir = roots.get(name);
    return dir == null ? null : dir.entryInParent();
  }
Gets the directory entry for the root with the given name or {@code null} if no such root
exists.
jimfs/src/main/java/com/google/common/jimfs/FileTree.java