MCPcopy Create free account
hub / github.com/openclaw/gogcli / newDocsBatchStore

Function newDocsBatchStore

internal/cmd/docs_batch_store.go:30–40  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

28}
29
30func newDocsBatchStore(ctx context.Context) (*docsbatch.Repository, error) {
31 store, err := openDocsBatchStore(ctx)
32 if err != nil {
33 return nil, err
34 }
35 if err := store.Ensure(); err != nil {
36 return nil, err
37 }
38
39 return store, nil
40}
41
42func openDocsBatchStore(ctx context.Context) (*docsbatch.Repository, error) {
43 layout, err := commandLayout(ctx, config.PathKindState)

Callers 9

RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
queueDocsBatchRequestsFunction · 0.85
prepareDocsBatchEndTestFunction · 0.85

Calls 2

openDocsBatchStoreFunction · 0.85
EnsureMethod · 0.80