MCPcopy Create free account
hub / github.com/Permify/permify / NewBundleWriter

Function NewBundleWriter

internal/storage/memory/bundle_writer.go:18–22  ·  view source on GitHub ↗
(database *db.Memory)

Source from the content-addressed store, hash-verified

16}
17
18func NewBundleWriter(database *db.Memory) *BundleWriter {
19 return &BundleWriter{
20 database: database,
21 }
22}
23
24// Write - Write bundles to memory database
25func (b *BundleWriter) Write(ctx context.Context, bundles []storage.Bundle) (names []string, err error) {

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected