MCPcopy Create free account
hub / github.com/bufbuild/buf / moduleData

Struct moduleData

private/bufpkg/bufmodule/module_data.go:95–103  ·  view source on GitHub ↗

*** PRIVATE ***

Source from the content-addressed store, hash-verified

93// *** PRIVATE ***
94
95type moduleData struct {
96 moduleKey ModuleKey
97 getBucket func() (storage.ReadBucket, error)
98 getDepModuleKeys func() ([]ModuleKey, error)
99 getV1BufYAMLObjectData func() (ObjectData, error)
100 getV1BufLockObjectData func() (ObjectData, error)
101
102 checkDigest func() error
103}
104
105func newModuleData(
106 ctx context.Context,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected