MCPcopy
hub / github.com/ossf/scorecard / GetLocalPath

Method GetLocalPath

internal/gitfile/gitfile.go:105–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105func (h *Handler) GetLocalPath() (string, error) {
106 if err := h.setup(); err != nil {
107 return "", fmt.Errorf("setup: %w", err)
108 }
109 return h.tempDir, nil
110}
111
112func (h *Handler) ListFiles(predicate func(string) (bool, error)) ([]string, error) {
113 if err := h.setup(); err != nil {

Callers 1

LocalPathMethod · 0.80

Calls 1

setupMethod · 0.95

Tested by

no test coverage detected