Documentation ¶
Index ¶
Constants ¶
View Source
const CName = spacestorage.CName
Variables ¶
View Source
var ErrLocked = errors.New("space storage locked")
Functions ¶
This section is empty.
Types ¶
type NodeStorage ¶
type NodeStorage interface { spacestorage.SpaceStorageProvider SpaceStorage(spaceId string) (spacestorage.SpaceStorage, error) TryLockAndDo(spaceId string, do func() error) (err error) AllSpaceIds() (ids []string, err error) OnWriteHash(onWrite func(ctx context.Context, spaceId, hash string)) StoreDir(spaceId string) (path string) }
func New ¶
func New() NodeStorage
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package mock_nodestorage is a generated GoMock package.
|
Package mock_nodestorage is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.