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

# Functions

BytesRef computes a Ref for a byte slice p.
Hash computes the ref for the specified reader.
IsRef checks if string is a text representation of a Ref.
MakeRef creates a ref with a specified hash algorithm and value.
MustParseRef is the same as ParseRef, but panics on error.
NewRef creates a new zero ref with a default hash function.
ParseRef parses the string as a Ref.
ParseRef parses byte slice as a string representation of a Ref.
StringRef computes a Ref for a string s.

# Constants

No description provided by the author

# Structs

Pin is a named reference to a blob.
Ref is a reference to a blob in content-addressable storage.
SchemaRef is a reference that describes a schema object.
SizedRef is a object that combines a Ref and a size of a blob that it describes.