Initial commit: Open sourcing all of the Maple Open Technologies code.
This commit is contained in:
commit
755d54a99d
2010 changed files with 448675 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
package syncstate
|
||||
|
||||
// Repository defines the data access operations for sync state
|
||||
type Repository interface {
|
||||
// Get retrieves the current sync state
|
||||
Get() (*SyncState, error)
|
||||
|
||||
// Save persists the sync state
|
||||
Save(state *SyncState) error
|
||||
|
||||
// Reset clears the sync state (for fresh sync)
|
||||
Reset() error
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue