MCPcopy Create free account
hub / github.com/bep/s3deploy / FileMap

Method FileMap

lib/store.go:127–132  ·  view source on GitHub ↗
(ctx context.Context, opts ...opOption)

Source from the content-addressed store, hash-verified

125}
126
127func (s *noUpdateStore) FileMap(ctx context.Context, opts ...opOption) (map[string]file, error) {
128 if s.readOps != nil {
129 return s.readOps.FileMap(ctx, opts...)
130 }
131 return make(map[string]file), nil
132}
133
134func (s *noUpdateStore) Put(ctx context.Context, f localFile, opts ...opOption) error {
135 return nil

Callers

nothing calls this directly

Calls 1

FileMapMethod · 0.65

Tested by

no test coverage detected