public static Entry<Void> ofDirectory(Revision revision, String path) {
        return new Entry<>(revision, path, EntryType.DIRECTORY, null);
    }
public static Entry < Void > ofDirectory ( Revision revision , String path ) { return new Entry < > ( revision , path , EntryType . DIRECTORY , null ) ; }
Returns a newly-created {@link Entry} of a directory.

@param revision the revision of the directory
@param path the path of the directory