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

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{}