Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionedStore ¶
func NewVersionedStore ¶
func NewVersionedStore(windowSize int) *VersionedStore
func (*VersionedStore) Create ¶
func (s *VersionedStore) Create(version, name string, size int) (*Blob, error)
func (*VersionedStore) GetNextVersion ¶
func (s *VersionedStore) GetNextVersion(prev string) string
func (*VersionedStore) GetOrCreate ¶ added in v0.2.0
func (s *VersionedStore) GetOrCreate(version, name string, size int) (*Blob, error)
Click to show internal directories.
Click to hide internal directories.