Documentation ¶
Index ¶
- type Dialect
- type SQLite
- func (s *SQLite) DeleteBlobMeta(ctx context.Context, blobId blid.Blid) error
- func (s *SQLite) GetBlobMeta(ctx context.Context, blobId blid.Blid) (*metadata.Item, bool, error)
- func (s *SQLite) GetBlobTags(ctx context.Context, blobId blid.Blid) ([]string, error)
- func (s *SQLite) ListBlobChunk(ctx context.Context, filter *filter.Filter, limit int) ([]*metadata.Item, error)
- func (s *SQLite) SetBlobMeta(ctx context.Context, item *metadata.Item) error
- func (s *SQLite) SetBlobTags(ctx context.Context, tags []string, blobId blid.Blid) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialect ¶
type Dialect struct {
// contains filtered or unexported fields
}
func (*Dialect) IsDuplicateKeyError ¶
func (*Dialect) SetParamPlaceholders ¶
type SQLite ¶
func (*SQLite) DeleteBlobMeta ¶
DeleteBlobMeta deletes metadata about a blob.
func (*SQLite) GetBlobMeta ¶
HasBlobMeta returns true if we have metadata about a given blob.
func (*SQLite) GetBlobTags ¶
GetBlobTags returns the tags attached to a certain blob.
func (*SQLite) ListBlobChunk ¶
func (s *SQLite) ListBlobChunk(ctx context.Context, filter *filter.Filter, limit int) ([]*metadata.Item, error)
ListBlobChunk returns blob chunk metadata.
func (*SQLite) SetBlobMeta ¶
Click to show internal directories.
Click to hide internal directories.