Xgit v0.1.1 Xgit.Core.ContentSource protocol

Protocol used for reading object content from various sources.

Link to this section Summary

Types

t()

Any value for which ContentSource protocol is implemented.

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

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.