package
0.0.0-20240318153351-c9fddc1e2fb5
Repository: https://github.com/dennwc/cas.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Decode decodes a schema object from a stream.
DecodeJSON decodes a JSON config.
DecodeType decodes the type of an object from the reader.
Encode writes a schema blob to w.
IsSchema checks if the buffer is likely to contain an object with a CAS schema.
MustTypeOf is the same as TypeOf but panics on error.
NewType creates a schema object with a specified type.
PeekType reads a portion of data from r, reports the type of the schema blob that it describes, and returns a new restored reader.
RegisterName associates a schema object with a given type name.
TypeOf returns the type of an object.

# Constants

MagicSize is a maximal size of a magic prefix of schema blobs.
number of full objects (logical trees).
size of all raw blobs (excluding the schema).

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
InlineList is an inlined list of entries of a specific type.
List is an ordered list of entries of a specific type.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Object is a generic schema object for CAS.

# Type aliases

Stats is a collection of stat values.