Documentation
¶
Overview ¶
Package vaultbucket resolves the storage.BinaryStore backing a vault's non-markdown content — shared by the MCP vault-tool executor and the notes service's folder export/import/delete methods so the S3-vs-CouchDB-adapter decision lives in one place.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
func Resolve( ctx context.Context, vault domain.Vault, client *couchdb.LiveSyncClient, s3Instances repository.S3Instances, ) (storage.BinaryStore, error)
Resolve returns nil (not an error) when the vault has neither CouchDB-for-binaries nor a linked S3 bucket — callers must treat a nil bucket as "no binary storage available".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.