Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
Memory is an in-memory store
type Store ¶
type Store interface { // UpdateCommit updates the last known commit id of a branch // and returns the previous one UpdateCommit(remote, branch, commit string) (string, error) }
Store is an interface for fetching data from external source
func NewMemoryStore ¶
func NewMemoryStore() Store
NewMemoryStore initializes an empty in-memory store
Click to show internal directories.
Click to hide internal directories.