public Directory createRootDirectory(Name name) {
    return Directory.createRoot(nextFileId(), fileTimeSource.now(), name);
  }
Creates a new root directory with the given name.
jimfs/src/main/java/com/google/common/jimfs/FileFactory.java