Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoData = fmt.Errorf("no data")
View Source
var ErrRepoTooLarge = rest.BadRequest{Msg: "Too large repository"}
Functions ¶
This section is empty.
Types ¶
type ContentProvider ¶
type ContentProvider interface {
GetContent(ctx context.Context, user, repo, branch string, tempStorage TempStorage) (_ []FileForPath, close func() error, _ error)
}
type FileForPath ¶
type Opener ¶
type Opener = func() (io.ReadCloser, error)
type Service ¶
type Service struct { LOCCacher LOCCacher // possibly nil ContentProvider ContentProvider // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.