Documentation ¶
Overview ¶
Package manifest implements helper functions for the stored manifest.
Index ¶
- func ReadBundleRevision(ctx context.Context, store storage.Store, txn storage.Transaction) (string, error)
- func ReadBundleRoots(ctx context.Context, store storage.Store, txn storage.Transaction) ([]string, error)
- func Write(ctx context.Context, store storage.Store, txn storage.Transaction, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadBundleRevision ¶
func ReadBundleRevision(ctx context.Context, store storage.Store, txn storage.Transaction) (string, error)
ReadBundleRevision returns the revision in the currently activated bundle. If there is no activated bundle, ths function will return storage NotFound error.
func ReadBundleRoots ¶
func ReadBundleRoots(ctx context.Context, store storage.Store, txn storage.Transaction) ([]string, error)
ReadBundleRoots returns the roots specified in the currently activated bundle. If there is no activated bundle, this function will return storage NotFound error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.