Xgit v0.1.1 Xgit.Core.ContentSource protocol
Protocol used for reading object content from various sources.
Link to this section Summary
Functions
Calculate the length (in bytes) of the content.
Return a stream which can be used for reading the content.
Link to this section Types
Link to this type
t()
t()
t() :: term()
t() :: term()
Any value for which ContentSource
protocol is implemented.
Link to this section Functions
Link to this function
length(content)
Calculate the length (in bytes) of the content.
Link to this function
stream(content)
Return a stream which can be used for reading the content.