Documentation
¶
Index ¶
- type DB
- func (db *DB) Changed() bool
- func (db *DB) Close() error
- func (db *DB) Delete(ctx context.Context, path string) (removed bool, err error)
- func (db *DB) DeleteAll(ctx context.Context, matcher func(path string) (delete bool)) (removed int, err error)
- func (db *DB) Get(ctx context.Context, path string) (*manifest.Content, error)
- func (db *DB) HasPrefix(ctx context.Context, prefix string) (exists bool, err error)
- func (db *DB) List(ctx context.Context, prefix string, recursive bool, ...) error
- func (db *DB) Put(ctx context.Context, path string, content *manifest.Content) (state PutState, err error)
- func (db *DB) Rename(ctx context.Context, re *regexp.Regexp, replacement string) (renamed int, err error)
- func (db *DB) SerializeTo(ctx context.Context, destinationPath string) error
- type PutState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.