versioner.go 360 Bytes
Newer Older
Jakob Borg's avatar
Jakob Borg committed
1 2 3
// Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// All rights reserved. Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
Jakob Borg's avatar
Jakob Borg committed
4

5 6 7
package versioner

type Versioner interface {
8
	Archive(repoPath, filePath string) error
9 10 11
}

var Factories = map[string]func(map[string]string) Versioner{}