register: frame out basic driver registration
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
71d8e2cb3a
commit
867595505e
3 changed files with 52 additions and 3 deletions
|
@ -2,5 +2,6 @@ package driver
|
|||
|
||||
// Driver is the vfs level driver to operate on filesystem trees (i.e.
|
||||
// copy-on-write filesystems, etc)
|
||||
type Driver struct {
|
||||
type Driver interface {
|
||||
Init(rootPath string) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue