Documentation ¶
Index ¶
- Constants
- Variables
- func CtxGetFileId(ctx context.Context) (spaceId string)
- func CtxGetSpaceId(ctx context.Context) (spaceId string)
- func CtxWithFileId(ctx context.Context, spaceId string) context.Context
- func CtxWithSpaceId(ctx context.Context, spaceId string) context.Context
- type BlockStore
- type BlockStoreLocal
- type BlockStoreSpaceIds
Constants ¶
View Source
const CName = "common.commonfile.fileblockstore"
Variables ¶
View Source
var ( ErrCIDNotFound = fileprotoerr.ErrCIDNotFound ErrCIDUnexpected = fileprotoerr.ErrUnexpected )
Functions ¶
func CtxGetFileId ¶
func CtxGetSpaceId ¶
Types ¶
type BlockStore ¶
type BlockStoreLocal ¶
type BlockStoreSpaceIds ¶
type BlockStoreSpaceIds interface {
SpaceIds() []string
}
Click to show internal directories.
Click to hide internal directories.