github.com/grafana/pyroscope@v1.18.0/pkg/frontend/vcs/client/client.go (about)

     1  package client
     2  
     3  import (
     4  	"errors"
     5  )
     6  
     7  var ErrNotFound = errors.New("file not found")
     8  
     9  type File struct {
    10  	Content string
    11  	URL     string
    12  }
    13  
    14  type FileRequest struct {
    15  	Owner string
    16  	Repo  string
    17  	Path  string
    18  	Ref   string
    19  }