MCPcopy Create free account
hub / github.com/Debian/dcs / Server

Struct Server

internal/sourcebackend/sourcebackend.go:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138type Server struct {
139 // For forward compatibility
140 sourcebackendpb.UnimplementedSourceBackendServer
141
142 mu sync.Mutex
143 Index *index.Index
144 UnpackedPath string
145 IndexPath string
146 UsePositionalIndex bool
147}
148
149// Serves a single file for displaying it in /show
150func (s *Server) File(ctx context.Context, in *sourcebackendpb.FileRequest) (*sourcebackendpb.FileReply, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected