module Dumpster::Entry::Common

Overview

Common elements to be included in all entry structs.

NOTE in an ideal world, this would be an abstract struct that all entries would inherit from. However, the compiler collapsing unions of these into a single virtual type, rather than supported working with these as a sum type that can be branched on.

Direct including types

Defined in:

dumpster/entry/common.cr

Instance Method Summary

Instance Method Detail

def ==(other : self) #

[View source]
def generation #

Default generation

NOTE This is overridden by entry types which support generation tracking.


[View source]
def hash(hasher) #

See Object#hash(hasher)


[View source]