MCPcopy Create free account
hub / github.com/brimdata/super / Add

Method Add

db/pools/store.go:80–82  ·  view source on GitHub ↗
(ctx context.Context, config *Config)

Source from the content-addressed store, hash-verified

78}
79
80func (s *Store) Add(ctx context.Context, config *Config) error {
81 return s.store.Insert(ctx, config)
82}
83
84func (s *Store) Rename(ctx context.Context, id ksuid.KSUID, newName string) error {
85 config, err := s.LookupByID(ctx, id)

Callers 8

CreateBranchFunction · 0.45
openPoolMethod · 0.45
CreatePoolMethod · 0.45
GetMethod · 0.45
SnapshotMethod · 0.45
buildSnapshotMethod · 0.45
PathMethod · 0.45
SetBaseMethod · 0.45

Calls 1

InsertMethod · 0.80

Tested by

no test coverage detected