Skip to content

Instantly share code, notes, and snippets.

@shykes
Created November 7, 2013 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shykes/7360995 to your computer and use it in GitHub Desktop.
Save shykes/7360995 to your computer and use it in GitHub Desktop.
type Driver interface {
Create(id, parent string) error
Remove(id string) error
Get(id string) (dir string, err error)
Diff(id string) (archive.Archive, error)
DiffSize(id string) (bytes int64, err error)
Changes(id string) ([]Change, error)
Cleanup() error
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment