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

Method getFastscanResultForPath

private/bufpkg/bufmodule/module_read_bucket.go:851–857  ·  view source on GitHub ↗
(ctx context.Context, path string)

Source from the content-addressed store, hash-verified

849}
850
851func (m *multiProtoFileModuleReadBucket[T, S]) getFastscanResultForPath(ctx context.Context, path string) (fastscan.Result, error) {
852 _, delegateIndex, err := m.getFileInfoAndDelegateIndex(ctx, "stat", path)
853 if err != nil {
854 return fastscan.Result{}, err
855 }
856 return m.delegates[delegateIndex].getFastscanResultForPath(ctx, path)
857}
858
859func (m *multiProtoFileModuleReadBucket[T, S]) getFileInfoAndDelegateIndex(
860 ctx context.Context,

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected