zrepl/model/model.go
2017-04-29 20:09:09 +02:00

22 lines
275 B
Go

package model
type Filesystem struct {
Name string
Parent *Filesystem
Children []Filesystem
Snapshots []Snapshot
}
type FilesytemMapping struct {
From Filesystem
To Filesystem
}
type Snapshot struct {
Name string
}
type Pool struct {
Root Filesystem
}