Versions in this module Expand all Collapse all v0 v0.1.0 Dec 1, 2014 Changes in this version + type Index interface + Hash func() string + Marshal func() []byte + Type func() int64 + Unmarshal func([]byte) + type Remote struct + Blob string + ETag string + Mirrors []string + Name string + func NewRemote(name string, mirrors []string) *Remote + func (r *Remote) Unmarshal(data []byte) + func (r Remote) Download(ds Store) (*Remote, error) + func (r Remote) Hash() string + func (r Remote) Marshal() []byte + func (r Remote) Type() int64 + type Store struct + func NewStore(base string) *Store + func (ds Store) Dump(hex bool) + func (ds Store) ReadIndex(i Index) error + func (ds Store) ReadStream(key string) (io.ReadCloser, error) + func (ds Store) WriteACI(tmpKey string, orig io.Reader) (string, error) + func (ds Store) WriteIndex(i Index) + func (ds Store) WriteStream(key string, r io.Reader) error v0.0.0 Nov 27, 2014