Documentation ¶
Overview ¶
Package storecache is a caching proxy between a client and all stores. References are stored as files in the local file system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg upspin.Config, cacheDir string, maxBytes int64, writethrough bool) (upspin.StoreServer, func(upspin.Location), error)
New creates a new store cache that implements upspin.StoreServer. For writeback caches, it also returns a function to flush Blocks that are waiting to be written back. This is important to allow the client to flush out Access file blocks before writing the DirEntry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.