MCPcopy Create free account
hub / github.com/docker/buildx / ReadDir

Method ReadDir

dap/thread.go:839–849  ·  view source on GitHub ↗
(ctx context.Context, req gateway.ReadDirRequest)

Source from the content-addressed store, hash-verified

837}
838
839func (r *mountReference) ReadDir(ctx context.Context, req gateway.ReadDirRequest) ([]*types.Stat, error) {
840 ctr, err := r.getContainer()
841 if err != nil {
842 return nil, err
843 }
844
845 return ctr.ReadDir(ctx, gateway.ReadDirContainerRequest{
846 ReadDirRequest: req,
847 MountIndex: r.index,
848 })
849}
850
851type deferredReference struct {
852 gateway.Reference

Callers 5

LoadTestModulesFunction · 0.80
ListMethod · 0.80
RemoveBuilderMethod · 0.80
RemoveBuilderNodeMethod · 0.80
fsVarsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected