 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type Contents
- type GitHub
- func (gh *GitHub) APICallCount() uint64
- func (gh *GitHub) Get(ctx context.Context, path string) ([]byte, error)
- func (gh *GitHub) Join(elem ...string) string
- func (gh *GitHub) ReadDir(ctx context.Context, path string) ([]string, error)
- func (gh *GitHub) Stat(ctx context.Context, path string) (*fs.FileInfo, error)
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ErrAPI = errors.New("failed to communicate with the GitHub API")
    Functions ¶
This section is empty.
Types ¶
type Contents ¶ added in v0.66.0
type Contents struct {
	File      *github.RepositoryContent
	Directory []*github.RepositoryContent
}
     Click to show internal directories. 
   Click to hide internal directories.